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

Mestre Prático & NutriPreço Official MCP Server

brazil_grocery_basket

Read-onlyIdempotent

Query real-time audited prices for Brazil's 13 Basic Food Basket items by state/city, with optional product search, to compare regional grocery costs.

Instructions

Queries and compares real-time audited prices of Brazil's 13 Basic Food Basket items (rice, beans, coffee, soy oil, milk, sugar, beef, bread, butter, etc.) sourced from electronic consumer invoices (NFC-e SEFAZ) and DIEESE methodology across 59 regional hubs. Updated daily. Read-only operation; no authentication required up to 60 req/min. Use brazil_list_states to check regional coverage, brazil_cost_of_living for full household budget synthesis, or brazil_compare_regions for cross-state comparisons.

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_grocery_basket"
  }
}

Input Schema

NameRequiredDescriptionDefault
ufYesTwo-letter Brazilian state code (e.g., 'sp', 'rj', 'mg', 'ba').
cidadeNoOptional Brazilian city name or slug to filter local supermarket offers.
produtoNoOptional product search term (e.g., 'arroz', 'feijao', 'cafe', 'leite', 'cesta basica').

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv1.2.0
    • addedInput schema / additionalProperties
      Added value: +false
    • changedInput schema / properties / cidade / description
      Previous value: -"Nome da cidade brasileira"New value: +"Optional Brazilian city name or slug to filter local supermarket offers."
    • changedInput schema / properties / produto / description
      Previous value: -"Termo de busca do produto (ex: 'arroz', 'feijao', 'cafe', 'cesta basica')"New value: +"Optional product search term (e.g., 'arroz', 'feijao', 'cafe', 'leite', 'cesta basica')."
    • changedInput schema / properties / uf / description
      Previous value: -"Sigla do estado brasileiro (ex: 'sp', 'rj', 'mg', 'ba')"New value: +"Two-letter Brazilian state code (e.g., 'sp', 'rj', 'mg', 'ba')."
  2. First observedv1.0.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is covered. The description still adds meaningful context beyond that: the data provenance (NFC-e SEFAZ invoices, DIEESE methodology), daily refresh cadence, and a concrete rate limit (60 req/min) with no auth needed. It does not describe return shape or pagination, but with no output schema and rich annotations, this is close to fully transparent.

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

Conciseness5/5

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

Three dense sentences, front-loaded with what the tool returns and where the data comes from, followed by operational constraints, then sibling routing. No filler or repetition of the title.

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

Completeness5/5

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

For a read-only lookup with no output schema, the description supplies everything an agent needs: data source, item coverage, geographic scope (59 hubs), update frequency, rate limit, auth requirement, and alternative tools. Nothing material is missing.

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 each of the three parameters carries its own description with examples ('sp', 'arroz', 'cesta basica'). The description's mention of the 13 basket items loosely contextualizes the 'produto' parameter but adds no syntax, format, or defaulting detail beyond the schema, so the 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 pair ('Queries and compares') plus a precise resource ('real-time audited prices of Brazil's 13 Basic Food Basket items') with source attribution (NFC-e SEFAZ, DIEESE) and scope (59 regional hubs). This clearly separates it from siblings covering fuel, LPG, pharma, cost of living, or cross-region comparison.

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 routes the agent: 'Use brazil_list_states to check regional coverage, brazil_cost_of_living for full household budget synthesis, or brazil_compare_regions for cross-state comparisons.' Names three concrete alternatives and the condition that selects each, leaving nothing to inference.

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