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

Mestre Prático & NutriPreço Official MCP Server

brazil_cost_of_living

Read-onlyIdempotent

Computes the estimated total monthly household budget in BRL or USD for a given Brazilian state, combining food, utilities, and domestic maintenance costs into one consolidated figure.

Instructions

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, individual electricity tariffs, or raw commodity prices. Explicit routing rules: Use brazil_cost_of_living instead of brazil_purchasing_power_oracle when monetary budget in BRL/USD is requested. Use brazil_purchasing_power_oracle instead of brazil_cost_of_living when the user asks for working hours of labor. Use brazil_grocery_basket instead of brazil_cost_of_living for individual food item prices. Read-only 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_cost_of_living"
  }
}

Input Schema

NameRequiredDescriptionDefault
ufYesTwo-letter Brazilian state code (e.g., 'sp', 'rj', 'df', 'mg'). Defaults to 'sp'.sp
converter_usdNoWhen true, converts all BRL cost metrics into USD using live exchange rates. Defaults to false.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changedv1.5.0
    • removedInput schema / properties / comparar_com_dolar
      Removed value: -{
      -  "description": "When true, converts all BRL cost metrics into USD using live exchange rates.",
      -  "type": "boolean"
      -}
    • addedInput schema / properties / converter_usd
      Added value: +{
      +  "default": false,
      +  "description": "When true, converts all BRL cost metrics into USD using live exchange rates. Defaults to false.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / uf / default
      Added value: +"sp"
    • changedInput schema / properties / uf / description
      Previous value: -"Two-letter Brazilian state code (e.g., 'sp', 'rj', 'df'). Defaults to national average if omitted."New value: +"Two-letter Brazilian state code (e.g., 'sp', 'rj', 'df', 'mg'). Defaults to 'sp'."
    • 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"
      +]
    • addedInput schema / required
      Added value: +[
      +  "uf"
      +]
  2. Addedv1.2.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and openWorld, so safety is covered; the description still adds genuinely new operational context: no authentication required and a 60 req/min rate ceiling. It also clarifies that the figure is a consolidated composite of three cost categories rather than a single line item. It stops short of describing the response shape (breakdown vs. single number), which keeps it below a 5.

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?

Front-loads the purpose, then when-to-use, when-not-to-use, and routing in clearly labeled segments. The bidirectional routing rules are mildly redundant but each sentence carries actionable routing signal, so nothing is wasted.

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 2-parameter read-only tool with full schema coverage and rich annotations, the description covers purpose, selection criteria, cost composition, auth and rate limits. The only gap is the absence of an output schema combined with no statement of the returned figure's structure (e.g., whether a component breakdown accompanies the total).

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% with an enum on uf, so both parameters are already fully documented. The description only echoes that output can be in BRL or USD via converter_usd and adds no format, defaulting, or edge-case semantics 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 (computes/aggregates) and a precisely scoped resource: total estimated monthly household expenditure in BRL and USD per Brazilian state, with the aggregated components (food, baseline utilities, domestic maintenance) named. An agent can distinguish this from every sibling without opening a 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 provides when-to-use, when-not-to-use (labor hours, electricity tariffs, raw commodity prices), and three named routing rules that select between this tool, brazil_purchasing_power_oracle and brazil_grocery_basket. This is the strongest form of guidance in the rubric.

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