Skip to main content
Glama

Mestre Prático • Brazil Retail & Commodities MCP

brazil_fuel_prices

Read-onlyIdempotent

Queries real-time audited retail fuel prices across all 27 Brazilian Federative Units (UFs) and 417 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,927 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.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "uf": "<uf>"
    },
    "name": "brazil_fuel_prices"
  }
}

Input Schema

NameRequiredDescriptionDefault
ufYesTwo-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.sp
cidadeNoOptional city name or URL slug (e.g., 'sao-paulo', 'rio-de-janeiro', 'campinas', 'salvador'). Defaults to empty string to return statewide statistics.
combustivelNoFuel type filter for price ranking and statistics. Defaults to 'todos'.todos

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / cidade / description
      Previous value: -"Optional city name or URL slug (e.g., 'sao-paulo', 'cabo-frio', 'recife'). Defaults to empty string to return statewide summary statistics."New value: +"Optional city name or URL slug (e.g., 'sao-paulo', 'rio-de-janeiro', 'campinas', 'salvador'). Defaults to empty string to return statewide statistics."
    • changedInput schema / properties / uf / description
      Previous value: -"Two-letter Brazilian state code in lowercase (e.g., 'sp', 'rj', 'mg', 'ba'). Call brazil_list_states to see all valid codes."New value: +"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."
    • removedInput schema / properties / uf / enum
      Removed value: -[
      -  "ac",
      -  "al",
      -  "am",
      -  "ap",
      -  "ba",
      -  "ce",
      -  "df",
      -  "es",
      -  "go",
      -  "ma",
      -  "mg",
      -  "ms",
      -  "mt",
      -  "pa",
      -  "pb",
      -  "pe",
      -  "pi",
      -  "pr",
      -  "rj",
      -  "rn",
      -  "ro",
      -  "rr",
      -  "rs",
      -  "sc",
      -  "se",
      -  "sp",
      -  "to"
      -]
  2. Changed3 schema fields changed
    • changedInput schema / properties / cidade / description
      Previous value: -"Optional city name or URL slug (e.g., 'sao-paulo', 'rio-de-janeiro', 'campinas', 'salvador'). Defaults to empty string to return statewide statistics."New value: +"Optional city name or URL slug (e.g., 'sao-paulo', 'cabo-frio', 'recife'). Defaults to empty string to return statewide summary statistics."
    • changedInput schema / properties / uf / description
      Previous value: -"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."New value: +"Two-letter Brazilian state code in lowercase (e.g., 'sp', 'rj', 'mg', 'ba'). Call brazil_list_states to see all valid codes."
    • addedInput schema / properties / uf / enum
      Added value: +[
      +  "ac",
      +  "al",
      +  "am",
      +  "ap",
      +  "ba",
      +  "ce",
      +  "df",
      +  "es",
      +  "go",
      +  "ma",
      +  "mg",
      +  "ms",
      +  "mt",
      +  "pa",
      +  "pb",
      +  "pe",
      +  "pi",
      +  "pr",
      +  "rj",
      +  "rn",
      +  "ro",
      +  "rr",
      +  "rs",
      +  "sc",
      +  "se",
      +  "sp",
      +  "to"
      +]
  3. Changed7 schema fields changed
    • addedInput schema / properties / cidade / default
      Added value: +""
    • changedInput schema / properties / cidade / description
      Previous value: -"Optional city name or URL slug (e.g., 'sao-paulo', 'rio-de-janeiro', 'cabo-frio', 'curitiba'). Omit to retrieve statewide summary."New value: +"Optional city name or URL slug (e.g., 'sao-paulo', 'rio-de-janeiro', 'campinas', 'salvador'). Defaults to empty string to return statewide statistics."
    • addedInput schema / properties / combustivel / default
      Added value: +"todos"
    • changedInput schema / properties / combustivel / description
      Previous value: -"Fuel type filter for price ranking (default: 'todos')."New value: +"Fuel type filter for price ranking and statistics. Defaults to 'todos'."
    • changedInput schema / properties / combustivel / enum
      Previous value: -[
      -  "gasolina",
      -  "etanol",
      -  "diesel",
      -  "gnv",
      -  "todos"
      -]New value: +[
      +  "todos",
      +  "gasolina",
      +  "gasolina_aditivada",
      +  "etanol",
      +  "diesel_s10",
      +  "diesel_s500",
      +  "gnv"
      +]
    • addedInput schema / properties / uf / default
      Added value: +"sp"
    • changedInput schema / properties / uf / description
      Previous value: -"Two-letter Brazilian state code in lowercase (e.g., 'sp', 'rj', 'mg', 'ba', 'pr', 'ce', 'df'). Call brazil_list_states for all 27 valid UF codes."New value: +"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."
  4. First observed

TDQS

A4.3/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnly, idempotent, openWorld, and non-destructive, so the safety profile is covered; the description still adds real value with the ANP audited-source provenance, the no-authentication requirement, and the 60 req/min rate limit. It stops short of describing pagination, response size, or what happens when a city has no monitored stations, which leaves a small behavioral gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded and dense with useful detail, but the coverage framing is repeated ('across all 27 Brazilian Federative Units (UFs)' and again 'across all 27 Brazilian states'), which is mild redundancy. Nothing else is filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description must convey return content, and it does so conceptually (rankings, statewide statistics, parity ratio, price dispersion). What remains thin is the exact response shape and empty-result behavior, which an agent calling a 3-parameter query tool would still want.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already documents uf, cidade, and combustivel including the enum values and defaults; the description adds only indirect meaning by explaining that parity and dispersion are computed outputs. Baseline 3 is appropriate when the schema carries the parameter burden.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb (Queries) and resource (real-time audited retail fuel prices) with concrete scope: 27 UFs, 417 cities, six named fuel types, plus parity and dispersion calculations. An agent can distinguish this from brazil_lpg_gas_prices or brazil_freight_logistics without opening any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly labels a 'When to use' case (current station-level and statewide retail prices, ethanol vs gasoline parity) and a 'When NOT to use' case, naming the two sibling tools to route to instead. This is the strongest form of guidance available.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.