Skip to main content
Glama

Joinville Boas Ofertas

Cesta básica por mercado

basic_basket
Read-onlyIdempotent

Calcula o custo da cesta básica por mercado; com market, detalha os itens daquele mercado. Usa os preços vigentes do último cálculo (computed_at). Exemplos: "cesta básica mais barata", "quanto custa a cesta no Bistek" Cobertura: só Joinville/SC, Brasil; não serve para outras cidades. Só consulta: não vende, não reserva nem entrega produtos.

Input Schema

NameRequiredDescriptionDefault
marketNoslug, id ou nome do mercado
regionNosó joinville por enquanto

Output Schema

NameRequiredDescriptionDefault
metaYes
itemsYes
linesYes
statusYes
averageYes
marketsYes
computed_atYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/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=false. The description adds useful behavioral context beyond those annotations: it uses prices from the last calculation (computed_at), is limited to Joinville/SC, and only queries without selling, reserving, or delivering.

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?

The description is compact and front-loaded, starting with the core purpose before conditional behavior, examples, and coverage. Every sentence adds value without repetition.

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, two-parameter tool with full schema coverage, rich annotations, and an output schema, the description is complete enough. It covers purpose, freshness of prices, geographic limitation, and the fact that no commercial transaction occurs.

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

Parameters4/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 market and region. The description still adds meaning by explaining that providing market causes item-level detail for that market, which is conditional behavior not captured by the schema alone.

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

Purpose4/5

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

The description states a specific verb and resource: calculates the cost of the basic basket per market, and with the market parameter it details that market's items. It is clear, but it does not explicitly distinguish itself from siblings such as find_cheapest or compare_product.

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

Usage Guidelines4/5

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

It gives clear usage context through examples like 'cesta básica mais barata' and 'quanto custa a cesta no Bistek', and it explicitly limits coverage to Joinville/SC. It lacks explicit guidance on when to prefer this over sibling tools, but the scope and examples make appropriate use clear.

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.

Resources