{
  "schemaVersion": "1.0",
  "name": "mestrepratico-brazil-prices",
  "displayName": "Mestre Prático Brazilian Real-Economy MCP",
  "description": "Official deterministic MCP server for Brazilian real-economy data: ANP fuel prices, CMED medicine maximum consumer prices (PMC), Varejo e Órgãos Reguladores basic grocery basket indices, and regional purchasing power oracles.",
  "version": "2.0.0",
  "transport": "streamable-http",
  "url": "https://mestrepratico.com.br/mcp/v1",
  "endpoint": "https://mestrepratico.com.br/mcp/v1",
  "repository": "https://github.com/nutripreco-oficial/mestre-pratico-mcp-server",
  "documentation": "https://mestrepratico.com.br/mcp",
  "website": "https://mestrepratico.com.br",
  "category": "government-data",
  "region": "Brazil",
  "language": "pt-BR",
  "tags": [
    "brazil",
    "economy",
    "government-data",
    "anp",
    "cmed",
    "Varejo e Órgãos Reguladores",
    "deterministic",
    "real-economy"
  ],
  "auth": {
    "type": "oauth",
    "authorization_server": "https://mestrepratico.com.br/.well-known/oauth-authorization-server",
    "protected_resource": "https://mestrepratico.com.br/.well-known/oauth-protected-resource",
    "scopes": [
      "mcp:read",
      "mcp:tools"
    ]
  },
  "serverInfo": {
    "name": "mestrepratico-brazil-prices",
    "version": "2.0.0",
    "contentHash": "sha256-9141b2c39c42a5f9655a6b3e03448b42d2e9a851f45c58b2bc93ba4c5ff210e1",
    "antiRugPullCertified": true,
    "vendor": "TECNOLOGIA E INTELIGÊNCIA DE VAREJO INOVA SIMPLES I.S. (CNPJ 69.423.752/0001-61)",
    "protocolVersion": "2024-11-05",
    "jwksUri": "https://mestrepratico.com.br/.well-known/jwks.json",
    "signaturesDirectoryUri": "https://mestrepratico.com.br/.well-known/http-message-signatures-directory"
  },
  "securityAndGovernance": {
    "pilar1_transparencia": "Open source (MIT License) with verifiable primary datasets and clean audit trails.",
    "pilar2_controle_permissoes": "Strictly Read-Only by default. Destructive mutations or file deletions are permanently disabled.",
    "pilar3_protecao_injecao": "All prompt inputs and state parameters undergo strict unicode normalization and regex sanitation at Cloudflare Edge.",
    "pilar4_autenticacao": "Zero-Auth Public Access: Free open access for AI agents with rate-limiting and DDoS shield at Cloudflare Edge.",
    "pilar5_rastreabilidade": "Edge telemetry with Cloudflare Analytics, error codes, and audit logs.",
    "pilar6_anti_tool_poisoning": "Certified immunity against MCP Tool Poisoning, Line Jumping, and Rug Pulls (LensHQ/CyberArk Threat Model). Canonical SHA-256 Toolset content hash pinned in headers: sha256-9141b2c39c42a5f9655a6b3e03448b42d2e9a851f45c58b2bc93ba4c5ff210e1.",
    "pilar7_assinatura_criptografica": "Asymmetric Digital Signatures via IETF JWS (RFC 7515 - ES256) inside JSON payloads (selo_criptografico + proveniencia_e_escopo) and HTTP Message Signatures (RFC 9421 + Content-Digest RFC 9530) on transport headers."
  },
  "authentication": {
    "required": false,
    "tier": "community",
    "methods": [
      "none",
      "oauth"
    ]
  },
  "permissions": {
    "mode": "read-only",
    "humanInTheLoopRequiredForMutations": true
  },
  "tools": [
    {
      "name": "brazil_fuel_prices",
      "description": "Queries real-time audited retail fuel prices across all 27 Brazilian Federative Units (UFs) and 413 cities from Brazil's National Petroleum Agency (ANP). Covers Regular Gasoline (Gasolina Comum), Additive Gasoline (Gasolina Aditivada), Hydrous Ethanol (Etanol Hidratado), Diesel S10, Diesel S500, and CNG (GNV). Calculates official 70% biofuel economic parity ratio and price dispersion across 5,950 monitored gas stations across all 27 Brazilian states (official ANP weekly audited sample). When to use: Retrieve current station-level and statewide retail fuel prices and ethanol vs gasoline parity in Brazil. When NOT to use: Do NOT use for residential cooking gas LPG prices (use brazil_lpg_gas_prices) or freight transport rates (use brazil_freight_logistics). Read-only and idempotent operation; no authentication required up to 60 req/min.",
      "annotations": {
        "title": "Brazil Retail Fuel Prices & Biofuel Parity (ANP)",
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true
      },
      "inputSchema": {
        "type": "object",
        "properties": {
          "uf": {
            "type": "string",
            "description": "Two-letter Brazilian state code in lowercase (e.g., 'sp', 'rj', 'mg', 'ba', 'pr', 'ce', 'df'). Call brazil_list_states to see all 27 valid UF codes.",
            "default": "sp"
          },
          "cidade": {
            "type": "string",
            "description": "Optional city name or URL slug (e.g., 'sao-paulo', 'rio-de-janeiro', 'campinas', 'salvador'). Defaults to empty string to return statewide statistics.",
            "default": ""
          },
          "combustivel": {
            "type": "string",
            "enum": [
              "todos",
              "gasolina",
              "gasolina_aditivada",
              "etanol",
              "diesel_s10",
              "diesel_s500",
              "gnv"
            ],
            "description": "Fuel type filter for price ranking and statistics. Defaults to 'todos'.",
            "default": "todos"
          }
        },
        "required": [
          "uf"
        ],
        "additionalProperties": false
      }
    },
    {
      "name": "brazil_grocery_basket",
      "description": "Queries real-time audited supermarket prices of Brazil's 13 Basic Food Basket items (rice, beans, coffee, soybean oil, milk, sugar, beef, french bread, butter, flour, tomato, banana, potato) sourced from electronic consumer invoices (Pesquisa de Varejo e Órgãos Reguladores) and DIEESE methodology across 59 regional hubs. When to use: Look up staple grocery prices, item-level supermarket quotes, and food basket totals. When NOT to use: Do NOT use for broad cost-of-living index synthesis (use brazil_cost_of_living) or minimum-wage labor hours (use brazil_purchasing_power_oracle). Read-only and idempotent operation; no authentication required up to 60 req/min.",
      "annotations": {
        "title": "Brazil Basic Food Basket Supermarket Prices (Varejo / DIEESE)",
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true
      },
      "inputSchema": {
        "type": "object",
        "properties": {
          "uf": {
            "type": "string",
            "description": "Two-letter Brazilian state code in lowercase (e.g., 'sp', 'rj', 'mg', 'ba', 'pe', 'rs'). Defaults to 'sp'.",
            "default": "sp"
          },
          "cidade": {
            "type": "string",
            "description": "Optional Brazilian city name or slug to filter local supermarket chains. Defaults to empty string to return statewide summary.",
            "default": ""
          },
          "produto": {
            "type": "string",
            "description": "Optional food item filter (e.g., 'arroz', 'feijao', 'cafe', 'leite', 'oleo_soja', 'carne', 'pao_frances', 'cesta_basica'). Defaults to 'cesta_basica'.",
            "default": "cesta_basica"
          }
        },
        "required": [
          "uf"
        ],
        "additionalProperties": false
      }
    },
    {
      "name": "brazil_purchasing_power_oracle",
      "description": "Calculates monthly labor hours required under Brazilian standard CLT workload (220 hours) to afford basic survival items at federal minimum wage. Focuses strictly on time-to-earn labor metrics across Brazilian states (UFs). When to use: Use ONLY when asking how many hours or days of work at minimum wage are required to afford essential goods. When NOT to use: Do NOT use for currency-denominated total household budgets in BRL/USD (use brazil_cost_of_living), electricity tariffs (use brazil_energy_tariffs), or individual item prices (use brazil_grocery_basket or brazil_fuel_prices). Read-only and idempotent operation; zero authentication required.",
      "annotations": {
        "title": "Brazil Minimum Wage Labor Hours Oracle (CLT 220h)",
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true
      },
      "inputSchema": {
        "type": "object",
        "properties": {
          "uf": {
            "type": "string",
            "description": "Two-letter Brazilian state acronym (e.g., 'rj', 'sp', 'mg', 'ba', 'df'). Defaults to 'rj'.",
            "default": "rj"
          },
          "salario_base": {
            "type": "number",
            "description": "Monthly income in BRL to calculate labor hours against standard 220h CLT workload. Defaults to official 2026 federal minimum wage (1621.00 BRL - Decree 12,797/2025).",
            "default": 1621
          }
        },
        "required": [
          "uf"
        ],
        "additionalProperties": false
      }
    },
    {
      "name": "brazil_energy_tariffs",
      "description": "Provides official ANEEL residential electricity tariffs (B1) across all 27 Brazilian states (UFs) and computes thermal cooking parity comparing 13kg LPG gas cylinder vs 99 kWh induction power. When to use: Use specifically to look up residential electric kWh rates, monthly electric bills, or thermal energy parity between gas and electric cooking. When NOT to use: Do NOT use for total household cost of living (use brazil_cost_of_living) or vehicle fuel prices (use brazil_fuel_prices). Read-only and idempotent operation; zero authentication required.",
      "annotations": {
        "title": "Brazil Residential Electricity Tariffs & Thermal Parity (ANEEL)",
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true
      },
      "inputSchema": {
        "type": "object",
        "properties": {
          "uf": {
            "type": "string",
            "description": "Two-letter Brazilian state acronym (e.g., 'rj', 'sp', 'mg', 'ba', 'df'). Defaults to 'rj'.",
            "default": "rj"
          },
          "consumo_kwh": {
            "type": "number",
            "description": "Monthly electricity consumption in kWh for residential bill calculation. Defaults to standard baseline 150 kWh.",
            "default": 150
          },
          "calcular_paridade_termica": {
            "type": "boolean",
            "description": "Whether to calculate thermal cooking parity comparing 13kg LPG cylinder vs 99 kWh induction cooking. Defaults to true.",
            "default": true
          }
        },
        "required": [
          "uf"
        ],
        "additionalProperties": false
      }
    },
    {
      "name": "brazil_freight_logistics",
      "description": "Calculates official Brazilian minimum road freight rates regulated by ANTT (Agencia Nacional de Transportes Terrestres - Resolution No. 5,867/2020) across all vehicle classes (2 to 9 axles) and cargo types (solid bulk, general cargo, refrigerated). Correlates freight costs with ANP Diesel S10 pump prices, computing diesel fuel expense ratio and the logistical cost impact per kilogram of food transported. When to use: Calculate official ANTT freight rates, diesel expense ratio, or transport logistics costs between Brazilian cities. When NOT to use: Do NOT use for retail diesel pump prices at local gas stations (use brazil_fuel_prices). Read-only and idempotent operation; zero authentication required.",
      "annotations": {
        "title": "Brazil Road Freight Minimum Rates & Logistics Cost (ANTT)",
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true
      },
      "inputSchema": {
        "type": "object",
        "properties": {
          "distancia_km": {
            "type": "number",
            "description": "Total road route distance in kilometers (e.g., 430 for SP-RJ corridor). Defaults to 100 km.",
            "default": 100
          },
          "tipo_carga": {
            "type": "string",
            "enum": [
              "geral",
              "granel_solido",
              "granel_liquido",
              "frigorificada",
              "perigosa"
            ],
            "description": "ANTT cargo classification type. Defaults to 'geral'.",
            "default": "geral"
          },
          "numero_eixos": {
            "type": "integer",
            "enum": [
              2,
              3,
              4,
              5,
              6,
              7,
              9
            ],
            "description": "Number of vehicle axles: 2 (Toco 8t), 3 (Truck 14t), 4 (Cavalo Toco 22t), 5 (Carreta 27t), 6 (Carreta 32t), 7 (Bitrem 38t), 9 (Rodotrem 50t). Defaults to 5.",
            "default": 3
          },
          "uf_origem": {
            "type": "string",
            "description": "Origin state code (e.g., 'sp', 'rj', 'mg') for diesel price correlation. Defaults to 'sp'.",
            "default": "sp"
          },
          "uf_destino": {
            "type": "string",
            "description": "Two-letter Brazilian state acronym for destination (e.g., 'rj', 'sp', 'mg', 'ba'). Defaults to 'rj'.",
            "default": "rj"
          }
        },
        "required": [
          "distancia_km"
        ],
        "additionalProperties": false
      }
    },
    {
      "name": "brazil_tax_anatomy",
      "description": "Details the anatomy of indirect consumption taxes in Brazil across all 27 states (UFs), covering single-phase ICMS (ad rem fixed per unit under CONFAZ Agreements 15/2023 and 199/2022 for fuels and LPG), standard ad valorem ICMS (17% to 22%), federal PIS/COFINS, and CIDE. Demonstrates the price formation cascade and federal tax reform (EC 132/2023 - IBS/CBS) transition impacts. When to use: Analyze fiscal burden, tax breakdown, and government revenue share in Brazilian consumer prices. When NOT to use: Do NOT use for basic price lookups without tax breakdown (use domain tools like brazil_fuel_prices). Read-only and idempotent operation; zero authentication required.",
      "annotations": {
        "title": "Brazil Consumption Tax Anatomy & ICMS Monofasico (CONFAZ)",
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true
      },
      "inputSchema": {
        "type": "object",
        "properties": {
          "uf": {
            "type": "string",
            "description": "Two-letter Brazilian state acronym (e.g., 'sp', 'rj', 'mg', 'ba', 'df'). Defaults to 'sp'.",
            "default": "sp"
          },
          "categoria": {
            "type": "string",
            "enum": [
              "todos",
              "combustiveis",
              "gas_cozinha",
              "cesta_basica",
              "medicamentos"
            ],
            "description": "Category to analyze tax anatomy: 'todos', 'combustiveis', 'gas_cozinha', 'cesta_basica', 'medicamentos'. Defaults to 'todos'.",
            "default": "todos"
          }
        },
        "required": [
          "uf"
        ],
        "additionalProperties": false
      }
    },
    {
      "name": "brazil_cost_of_living",
      "description": "Computes the total estimated monthly household expenditure budget in Brazilian Reais (BRL) and USD across Brazilian states. Aggregates monthly food, baseline utilities, and standard domestic maintenance into a single consolidated currency figure. When to use: Use ONLY to retrieve the estimated total monthly financial expenditure in BRL or USD to live in a given state. When NOT to use: Do NOT use for labor-hour working time metrics (use brazil_purchasing_power_oracle), individual electricity tariffs (use brazil_energy_tariffs), or raw commodity prices (use brazil_fuel_prices or brazil_grocery_basket). Read-only operation; no authentication required up to 60 req/min.",
      "annotations": {
        "title": "Brazil Consolidated Monthly Financial Cost of Living (BRL/USD)",
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true
      },
      "inputSchema": {
        "type": "object",
        "properties": {
          "uf": {
            "type": "string",
            "description": "Two-letter Brazilian state code (e.g., 'sp', 'rj', 'df', 'mg'). Defaults to 'sp'.",
            "default": "sp"
          },
          "converter_usd": {
            "type": "boolean",
            "description": "When true, converts all BRL cost metrics into USD using live exchange rates. Defaults to false.",
            "default": false
          }
        },
        "required": [
          "uf"
        ],
        "additionalProperties": false
      }
    },
    {
      "name": "brazil_lpg_gas_prices",
      "description": "Queries official audited retail prices of residential cooking gas (13kg LPG cylinder / Botijao de Gas GLP P13) sourced from Brazil's National Petroleum Agency (ANP) across 13,145+ authorized resellers in all 27 Brazilian states. Updated weekly with distributor markups and regional dispersion. When to use: Look up residential 13kg cooking gas prices by state or city in Brazil. When NOT to use: Do NOT use for vehicle fuels such as gasoline, ethanol, or CNG (use brazil_fuel_prices) or electricity tariffs (use brazil_energy_tariffs). Read-only and idempotent operation; no authentication required up to 60 req/min.",
      "annotations": {
        "title": "Brazil Audited Residential Cooking Gas Prices (ANP 13kg LPG)",
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true
      },
      "inputSchema": {
        "type": "object",
        "properties": {
          "uf": {
            "type": "string",
            "description": "Two-letter Brazilian state code in lowercase (e.g., 'sp', 'rj', 'mg', 'ba', 'pr', 'ce', 'df'). Defaults to 'sp'.",
            "default": "sp"
          },
          "cidade": {
            "type": "string",
            "description": "Optional Brazilian city name or slug to filter local LPG resellers (e.g., 'sao-paulo', 'cabo-frio', 'recife'). Defaults to empty string to return statewide statistics.",
            "default": ""
          }
        },
        "required": [
          "uf"
        ],
        "additionalProperties": false
      }
    },
    {
      "name": "brazil_pharma_medicines",
      "description": "Queries official Maximum Consumer Prices (PMC) and Factory Prices (PF) for 26,635+ regulated medicines in Brazil from CMED/ANVISA, including state-specific ICMS tax brackets (18% to 20%), active ingredients, laboratory, presentation, and 100% free dispensing eligibility under the federal Farmacia Popular program (PFPB). When to use: Look up official regulated medicine ceiling prices (PMC), verify generic active ingredient equivalence, or check free dispensing status under Farmacia Popular across Brazilian states. When NOT to use: Do NOT use for supermarket personal care products (use brazil_grocery_basket) or non-pharmaceutical price queries. Read-only and idempotent operation; no authentication required up to 60 req/min (returns up to 15 matching presentations per call).",
      "annotations": {
        "title": "Brazil Regulated Pharmaceutical Prices & Farmacia Popular (CMED/ANVISA)",
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true
      },
      "inputSchema": {
        "type": "object",
        "properties": {
          "busca": {
            "type": "string",
            "description": "Commercial brand name or active pharmaceutical ingredient in Portuguese (e.g., 'dipirona', 'losartana', 'metformina', 'insulina', 'amoxicilina', 'paracetamol'). Defaults to 'losartana'.",
            "default": "losartana"
          },
          "uf": {
            "type": "string",
            "description": "Two-letter Brazilian state code (e.g., 'sp', 'rj', 'mg', 'ba') to apply accurate regional ICMS tax bracket. Defaults to 'sp'.",
            "default": "sp"
          },
          "categoria": {
            "type": "string",
            "enum": [
              "todos",
              "farmacia_popular",
              "genericos",
              "referencia",
              "similares"
            ],
            "description": "Regulatory medicine category filter: 'todos' (all regulated CMED entries), 'farmacia_popular' (100% free SUS program medicines), 'genericos' (bioequivalent generics), 'referencia' (innovator reference drugs), 'similares' (similar branded drugs). Defaults to 'todos'.",
            "default": "todos"
          }
        },
        "required": [
          "busca"
        ],
        "additionalProperties": false
      }
    },
    {
      "name": "brazil_list_states",
      "description": "Discovery and metadata support tool: Returns the complete list of all 27 Brazilian Federative Units (UFs) covered by the server, including state code, state name, geographic macro-region, monitored gas station count, regional ICMS tax bracket, and dataset audit timestamp. When to use: Call this tool first to discover and validate state codes (uf) before invoking brazil_fuel_prices, brazil_grocery_basket, brazil_lpg_gas_prices, or brazil_compare_regions. When NOT to use: Do NOT use to get actual commodity prices (use domain-specific tools like brazil_fuel_prices). Read-only and idempotent; requires no parameters and no authentication.",
      "annotations": {
        "title": "Brazil Federative Units Discovery & State Metadata (27 UFs)",
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true
      },
      "inputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": false
      }
    },
    {
      "name": "brazil_compare_regions",
      "description": "Calculates cross-state price differentials (percentage delta % and BRL spread) for inter-state freight routing and corporate procurement between an origin state and a destination state. When to use: Use ONLY when a user specifically needs a side-by-side comparative delta % or arbitrage spread between two different Brazilian states (e.g., SP vs RJ, MG vs PR). When NOT to use: Do NOT use to query prices of a single state (use brazil_fuel_prices, brazil_grocery_basket, or brazil_lpg_gas_prices). Read-only operation; no authentication required up to 60 req/min.",
      "annotations": {
        "title": "Brazil Cross-State Price Differential & Route Delta (%) Tool",
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true
      },
      "inputSchema": {
        "type": "object",
        "properties": {
          "uf_origem": {
            "type": "string",
            "description": "Origin two-letter Brazilian state code for comparison (e.g., 'sp', 'rj', 'ba'). Defaults to 'sp'.",
            "default": "sp"
          },
          "uf_destino": {
            "type": "string",
            "description": "Destination two-letter Brazilian state code for comparison (e.g., 'mg', 'pr', 'sc', 'rj'). Defaults to 'rj'.",
            "default": "rj"
          },
          "categoria": {
            "type": "string",
            "enum": [
              "todos",
              "combustiveis",
              "gas_cozinha",
              "cesta_basica"
            ],
            "description": "Economic indicator category to compare: 'todos', 'combustiveis', 'gas_cozinha', 'cesta_basica'. Defaults to 'todos'.",
            "default": "todos"
          }
        },
        "required": [
          "uf_origem",
          "uf_destino"
        ],
        "additionalProperties": false
      }
    },
    {
      "name": "brazil_contract_intent_a2a",
      "description": "Issues and verifies cryptographically signed Machine-to-Machine (A2A) Economic Intent Protocols with ES256 (ECDSA P-256) digital signatures (RFC 7515) and canonical SHA-256 digests (RFC 8785). Enables autonomous enterprise agents (fleet management bots, hospital procurement systems, wholesale supply coordinators) to formalize procurement intent parameters with official ANP/CMED/Varejo e Órgãos Reguladores regulatory benchmarks. Verifiable via https://mestrepratico.com.br/.well-known/jwks.json and /api/a2a/verify. Includes automated sandbox evaluation mode for test agents. When to use: When autonomous agents need to negotiate and document formal procurement intent parameters with verifiable cryptographic provenance. When NOT to use: For simple read-only price checks (use brazil_fuel_prices, brazil_grocery_basket, or brazil_pharma_medicines).",
      "annotations": {
        "title": "Brazil A2A Intent Protocol & Machine Contract Oracle",
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true
      },
      "inputSchema": {
        "type": "object",
        "properties": {
          "action": {
            "type": "string",
            "enum": [
              "issue_intent",
              "verify_intent"
            ],
            "description": "Action to perform: 'issue_intent' to generate a signed intent protocol, or 'verify_intent' to validate an existing protocol ID or hash. Defaults to 'issue_intent'.",
            "default": "issue_intent"
          },
          "protocolo_id": {
            "type": "string",
            "description": "Existing A2A protocol ID or SHA-256 hash to verify (required when action is 'verify_intent').",
            "default": ""
          },
          "tipo_operacao": {
            "type": "string",
            "enum": [
              "abastecimento_frota",
              "cesta_basica_atacado",
              "dispensacao_farmaceutica",
              "auditoria_tributaria"
            ],
            "description": "Economic procurement category for the machine intent contract: 'abastecimento_frota' (fleet refueling), 'cesta_basica_atacado' (wholesale food baskets), 'dispensacao_farmaceutica' (pharmaceutical supply), 'auditoria_tributaria' (tax audit certification). Defaults to 'abastecimento_frota'.",
            "default": "abastecimento_frota"
          },
          "uf": {
            "type": "string",
            "description": "Two-letter Brazilian state code where procurement will take place (e.g., 'rj', 'sp', 'mg', 'ba', 'pe'). Defaults to 'rj'.",
            "default": "rj"
          },
          "cidade": {
            "type": "string",
            "description": "Target Brazilian municipality or distribution hub (e.g., 'Cabo Frio', 'Sao Paulo', 'Recife', 'Rio de Janeiro'). Defaults to 'Cabo Frio'.",
            "default": "Cabo Frio"
          },
          "agente_solicitante_id": {
            "type": "string",
            "description": "Unique identifier of the requesting partner AI agent or automated bot (identifers containing TEST/AUDIT trigger sandbox mode). Defaults to 'FleetBot-Logistica-01'.",
            "default": "FleetBot-Logistica-01"
          },
          "contraparte_id": {
            "type": "string",
            "description": "Identifier or role of the intended commercial partner or counterparty network. Optional.",
            "default": "Rede Revendedora Conveniada / Mercado Aberto"
          },
          "volume_estimado": {
            "type": "number",
            "description": "Estimated procurement volume in liters (for fuels), units (for food baskets), or packages (for medicines). Defaults to 500.",
            "default": 500
          },
          "item_especifico": {
            "type": "string",
            "description": "Specific commodity code, fuel type (e.g., 'diesel_s10', 'gasolina'), or active pharmaceutical ingredient (e.g., 'losartana'). Defaults to 'diesel_s10'.",
            "default": "diesel_s10"
          }
        },
        "required": [
          "tipo_operacao",
          "uf"
        ],
        "additionalProperties": false
      }
    },
    {
      "name": "brazil_supplements_anvisa_audit",
      "description": "Queries the official ANVISA and INCQS/Fiocruz laboratory audit of creatine and dietary supplements in Brazil (RDC No. 243/2018, 41 brands analyzed) and computes deterministic cost-per-dose (3g or custom) vs. in-natura beef parity. Returns official gov.br/anvisa and incqs.fiocruz.br verification links, purity compliance status, labeling status, manufacturer legal name, and exact mathematical cost per gram.",
      "annotations": {
        "title": "Brazil ANVISA/INCQS Supplement Purity & Cost-per-Dose Oracle",
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      },
      "inputSchema": {
        "type": "object",
        "properties": {
          "marca": {
            "type": "string",
            "description": "Optional brand name filter (e.g., 'atlhetica', 'soldiers', 'max titanium', 'growth', 'integralmedica', 'dux', 'probiotica', 'dark lab'). Leave empty to list all audited brands.",
            "default": ""
          },
          "dose_diaria_gramas": {
            "type": "number",
            "description": "Daily creatine dose in grams for deterministic cost parity calculation vs. raw beef. Defaults to 3.",
            "default": 3
          }
        },
        "required": [],
        "additionalProperties": false
      }
    }
  ],
  "resources": [
    {
      "uri": "mcp://brazil/macro/bcb-series",
      "name": "Banco Central do Brasil • Séries SGS Oficiais",
      "description": "Séries temporais diárias do Banco Central: Selic Meta (Série 432: 13,75% a.a.), IPCA 12m (Série 13522: 4,58%) e Dólar PTAX (Série 1: R$ 5,0277).",
      "mimeType": "application/json"
    },
    {
      "uri": "mcp://brazil/energy/aneel-tariffs",
      "name": "ANEEL • Tarifas Residenciais B1 Homologadas nas 27 UFs",
      "description": "Tarifas homologadas pela Agência Nacional de Energia Elétrica para todas as concessionárias estaduais do Brasil (Light, Enel, Cemig, Copel, Equatorial, Celesc).",
      "mimeType": "application/json"
    },
    {
      "uri": "mcp://brazil/logistics/antt-freight-table",
      "name": "ANTT • Tabela Oficial de Coeficientes de Frete Mínimo",
      "description": "Coeficientes oficiais de Custo de Deslocamento (CCD) e Carga/Descarga (CC) por eixo e tipo de carga da Resolução ANTT nº 5.867/2020.",
      "mimeType": "application/json"
    },
    {
      "uri": "mcp://brazil/tax/confaz-icms-monofasico",
      "name": "CONFAZ • Alíquotas Ad Rem de ICMS Monofásico",
      "description": "Alíquotas fixas nacionais de ICMS monofásico dos Convênios CONFAZ 15/2023 e 199/2022 (Gasolina R$ 1,47/L, Diesel R$ 1,06/L, GLP R$ 1,4139/kg).",
      "mimeType": "application/json"
    },
    {
      "uri": "mcp://brazil/cmed/anvisa-summary",
      "name": "CMED/ANVISA • Dicionário Regulatório de 26.635 Medicamentos",
      "description": "Consolidado oficial de tetos de Preço Máximo ao Consumidor (PMC), ICMS estadual (18% e 20%), regras da Lei Federal nº 10.742/2003 e lista de gratuidade total da Farmácia Popular do SUS.",
      "mimeType": "application/json"
    },
    {
      "uri": "mcp://brazil/anp/fuels-summary",
      "name": "ANP • Matriz Soberana de Preços de Combustíveis no Brasil",
      "description": "Média, dispersão e menores preços auditados de Gasolina, Etanol, Diesel S10 e GNV nas 27 unidades federativas do Brasil com índice de paridade 70%.",
      "mimeType": "application/json"
    },
    {
      "uri": "mcp://brazil/basic-basket/dieese-summary",
      "name": "Cesta Básica Nacional • Parâmetros do Decreto nº 11.936/2024",
      "description": "Especificações técnicas dos 13 alimentos essenciais que compõem a alimentação básica das famílias brasileiras e indicadores de custo de vida regional.",
      "mimeType": "application/json"
    },
    {
      "uri": "mcp://brazil/lpg/gas-cozinha-summary",
      "name": "ANP • Radar Nacional do Gás de Cozinha GLP 13kg",
      "description": "Preços médios, mínimos e máximos auditados pela ANP para o botijão de 13kg em todas as macrorregiões do país.",
      "mimeType": "application/json"
    }
  ],
  "prompts": [
    {
      "name": "analisar_orcamento_familiar",
      "description": "Roteiro cognitivo A2A para IA: cruza Cesta Básica (Varejo e Órgãos Reguladores), Botijão GLP 13kg (ANP), Luz 150 kWh (ANEEL) e Salário Mínimo, calculando horômetro de trabalho e paridade de cocção.",
      "arguments": [
        {
          "name": "uf",
          "description": "Sigla do estado brasileiro (ex: 'RJ', 'SP')",
          "required": false
        },
        {
          "name": "salario_mensal_brl",
          "description": "Salário mensal líquido da família em R$",
          "required": false
        },
        {
          "name": "pessoas",
          "description": "Número de pessoas na casa (padrão: 4)",
          "required": false
        }
      ]
    },
    {
      "name": "auditar_viabilidade_logistica_antt",
      "description": "Roteiro A2A para frotas e embarcadores: cruza rota e eixos com o Piso Mínimo ANTT (Res. 5.867/2020) e calcula o impacto do Diesel S10 por kg de alimento.",
      "arguments": [
        {
          "name": "distancia_km",
          "description": "Distância da rota em km (padrão: 450 km)",
          "required": false
        },
        {
          "name": "tipo_veiculo",
          "description": "Configuração de eixos do caminhão (ex: 'carreta_5_eixos', 'truck_3_eixos')",
          "required": false
        },
        {
          "name": "tipo_carga",
          "description": "Classificação da carga ANTT ('granel_solido', 'carga_geral', 'frigorificada')",
          "required": false
        }
      ]
    },
    {
      "name": "raio_x_tributario_reforma",
      "description": "Roteiro A2A contábil/fiscal: decompõe ICMS Monofásico vs. Produto Líquido e projeta o impacto da Reforma Tributária (EC 132/2023 - IBS/CBS).",
      "arguments": [
        {
          "name": "uf",
          "description": "Sigla do estado brasileiro (ex: 'RJ', 'SP')",
          "required": false
        }
      ]
    },
    {
      "name": "auditar_preco_farmacia",
      "description": "Instrui a IA a auditar um cupom ou cotação de farmácia contra o Preço Máximo ao Consumidor (PMC) oficial da CMED/ANVISA, verificando se houve crime contra a economia popular e redigindo denúncia ao PROCON se aplicável.",
      "arguments": [
        {
          "name": "medicamento",
          "description": "Nome comercial ou princípio ativo do remédio",
          "required": true
        },
        {
          "name": "preco_cobrado",
          "description": "Valor em R$ cobrado pela farmácia",
          "required": true
        },
        {
          "name": "uf",
          "description": "Sigla do estado brasileiro (ex: 'sp', 'rj')",
          "required": false
        }
      ]
    },
    {
      "name": "analise_combustivel_frota",
      "description": "Roteiro analítico para frotas e motoristas: compara o preço na bomba com a mínima da ANP no estado, avalia a paridade de 70% Etanol/Gasolina e calcula a economia projetada.",
      "arguments": [
        {
          "name": "preco_gasolina",
          "description": "Preço do litro da gasolina",
          "required": true
        },
        {
          "name": "preco_etanol",
          "description": "Preço do litro do etanol",
          "required": true
        },
        {
          "name": "uf",
          "description": "Sigla do estado brasileiro",
          "required": true
        }
      ]
    }
  ]
}