Skip to main content
Glama
Mestre Prático & NutriPreço Official MCP Server

Mestre Prático & NutriPreço Official MCP Server

brazil_freight_logistics

Read-onlyIdempotent

Calculates official ANTT minimum road freight rates by axle class and cargo type, then correlates diesel S10 prices to estimate fuel-cost ratio and per-kilogram logistics impact.

Instructions

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. Explicit routing rules: Use brazil_freight_logistics instead of brazil_fuel_prices when calculating highway freight and trucking rates. Use brazil_fuel_prices instead of brazil_freight_logistics for gas station diesel pump prices. Use brazil_compare_regions instead of brazil_freight_logistics for regional economic delta % without truck axle formulas. Read-only and idempotent operation; zero authentication required.

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": {
      "distancia_km": "<distancia_km>"
    },
    "name": "brazil_freight_logistics"
  }
}

Input Schema

NameRequiredDescriptionDefault
uf_origemNoOrigin state code (e.g., 'sp', 'rj', 'mg') for diesel price correlation. Defaults to 'sp'.sp
tipo_cargaNoANTT cargo classification type. Defaults to 'geral'.geral
uf_destinoNoTwo-letter Brazilian state acronym for destination (e.g., 'rj', 'sp', 'mg', 'ba'). Defaults to 'rj'.rj
distancia_kmYesTotal road route distance in kilometers (e.g., 430 for SP-RJ corridor). Defaults to 100 km.
numero_eixosNoNumber 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 3.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed13 schema fields changedv1.5.0
    • addedInput schema / properties / distancia_km / default
      Added value: +100
    • changedInput schema / properties / distancia_km / description
      Previous value: -"Highway route distance in kilometers. Defaults to 450 km (e.g. SP-RJ axis or regional agricultural corridor) if omitted."New value: +"Total road route distance in kilometers (e.g., 430 for SP-RJ corridor). Defaults to 100 km."
    • addedInput schema / properties / distancia_km / minimum
      Added value: +1
    • addedInput schema / properties / numero_eixos
      Added value: +{
      +  "default": 3,
      +  "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 3.",
      +  "enum": [
      +    2,
      +    3,
      +    4,
      +    5,
      +    6,
      +    7,
      +    9
      +  ],
      +  "type": "integer"
      +}
    • addedInput schema / properties / tipo_carga / default
      Added value: +"geral"
    • changedInput schema / properties / tipo_carga / description
      Previous value: -"Cargo classification per ANTT: 'granel_solido' (grains/staples), 'carga_geral' (packaged groceries), 'frigorificada' (meats/dairy). Defaults to 'granel_solido'."New value: +"ANTT cargo classification type. Defaults to 'geral'."
    • changedInput schema / properties / tipo_carga / enum
      Previous value: -[
      -  "granel_solido",
      -  "carga_geral",
      -  "frigorificada",
      -  "perigosa"
      -]New value: +[
      +  "geral",
      +  "granel_solido",
      +  "granel_liquido",
      +  "frigorificada",
      +  "perigosa"
      +]
    • removedInput schema / properties / tipo_veiculo
      Removed value: -{
      -  "description": "Truck axle configuration: 'carreta_5_eixos' (standard 27t), 'truck_3_eixos' (14t), 'bitrem_7_eixos' (38t), or 'rodotrem_9_eixos' (50t grain hauler). Defaults to 'carreta_5_eixos'.",
      -  "enum": [
      -    "toce_2_eixos",
      -    "truck_3_eixos",
      -    "cavalo_toco_4_eixos",
      -    "carreta_5_eixos",
      -    "bitrem_7_eixos",
      -    "rodotrem_9_eixos"
      -  ],
      -  "type": "string"
      -}
    • addedInput schema / properties / uf_destino / default
      Added value: +"rj"
    • changedInput schema / properties / uf_destino / description
      Previous value: -"Two-letter state acronym of cargo destination (e.g. 'RJ', 'SP', 'BA'). Defaults to 'RJ'."New value: +"Two-letter Brazilian state acronym for destination (e.g., 'rj', 'sp', 'mg', 'ba'). Defaults to 'rj'."
    • addedInput schema / properties / uf_origem / default
      Added value: +"sp"
    • changedInput schema / properties / uf_origem / description
      Previous value: -"Two-letter state acronym of cargo origin (e.g. 'MT', 'PR', 'SP'). Defaults to 'SP'."New value: +"Origin state code (e.g., 'sp', 'rj', 'mg') for diesel price correlation. Defaults to 'sp'."
    • addedInput schema / required
      Added value: +[
      +  "distancia_km"
      +]
  2. Addedv1.2.0

TDQS

A4.3/5.0
Behavior4/5

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

The description discloses that results are correlated with ANP Diesel S10 pump prices and that outputs include a diesel expense ratio and cost-per-kg, which is genuine behavioral context beyond the annotations. The clause 'Read-only and idempotent; zero authentication required' merely restates readOnlyHint/idempotentHint, so it adds no new information. No contradiction with annotations.

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?

Computational scope is front-loaded in the first sentence and routing rules follow logically. The final sentence is boilerplate repetition of annotation flags and could be dropped, but overall density is high with little wasted text.

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?

For a 5-parameter read-only calculator with full schema coverage, the description covers inputs, computation logic, and siblings well. Because no output schema exists, the absence of an explicit description of the returned rate/ratio fields is a minor remaining gap.

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 coverage is 100% and every parameter carries its own description with examples and semantics, so the schema does the heavy lifting. The description's mention of axle classes (2-9) and cargo types maps loosely to numero_eixos and tipo_carga but adds no format or constraint detail beyond the schema. Baseline 3 applies.

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 ('Calculates') with a precisely bounded resource: official ANTT-regulated minimum road freight rates, including the governing resolution and the covered vehicle classes and cargo types. An agent can distinguish this from every sibling without opening the 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?

Provides explicit 'When to use' and 'When NOT to use' statements plus routing rules naming brazil_fuel_prices and brazil_compare_regions with the exact condition that selects each. This is the strongest possible form of alternative routing.

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