Skip to main content
Glama

Jabs — calculadoras financeiras do Brasil

Compras, carro e viagem

compras
Read-only

Compras, carro e viagem: À vista ou parcelado, carro, câmbio e onde economizar. Chame primeiro só com 'calculadora' para receber o formulário dela; depois, com 'calculadora' e 'dados', para a conta. Calculadoras:

  • cash_or_installments: À vista ou parcelado. Responde: Quanto a forma mais barata economiza, a valor de hoje.

  • carro_ou_aplicativo: Carro, moto ou transporte. Responde: Quanto o lado mais barato economiza por mês.

  • trocar_de_carro: Quando trocar de carro. Responde: Ficar com o carro por este tempo custa menos por mês.

  • consortium_vs_financing: Consórcio ou financiamento. Responde: O consórcio sai mais barato se você for contemplado em até.

  • custo_do_cambio: O câmbio da viagem: espécie, cartão ou conta global. Responde: O meio mais barato medido.

  • compra_internacional: Imposto na compra internacional. Responde: Total com os impostos.

  • spending_profile: Onde economizar. Responde: Acima da família típica, por mês.

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": {
      "calculadora": "<calculadora>"
    },
    "name": "compras"
  }
}

Input Schema

NameRequiredDescriptionDefault
dadosNoOs campos do formulário da calculadora, com os nomes que o formulário traz. Sem 'dados', a ferramenta devolve o formulário: os campos, o que cada um quer dizer e como se escreve.
calculadoraYesQual calculadora, da lista da descrição.
mostrar_a_contaNotrue para trazer também os passos da conta, com os números e o porquê de cada um. Use quando o usuário perguntar de onde saiu um número.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, openWorldHint=false, so safety is covered; the description adds the non-obvious two-phase protocol (form discovery, then computation) and the fact that omission of 'dados' triggers form return. It does not discuss error behavior for malformed 'dados' or output format, which keeps it from 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.

Conciseness4/5

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

It is front-loaded with the usage rule before the catalog, and the bulleted list adds clear selection value per entry rather than filler. Each calculator takes two short lines, which is proportionate, though the repeated 'Responde:' pattern adds mild verbosity without new information.

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

Completeness3/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 carries the burden of explaining returns, and its one-line 'Responde:' blurbs only sketch the output for each calculator. It handles the tricky nested free-form 'dados' object via the form-first protocol, which is the right approach, but a caller still cannot anticipate the result shape or units.

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 baseline is 3, and the enumeration of the seven calculator names is already in the schema enum. The description does add cross-parameter semantics the schema cannot express — the conditional ordering where 'dados' is withheld on the first call — but repeats the form-return behavior already documented on the 'dados' property.

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 names the domain (compras, carro, viagem) and enumerates all seven calculators with the exact question each answers, so an agent can map a user question to a value of 'calculadora' without opening anything else. It doesn't explicitly contrast itself with siblings like 'imposto' or 'investimentos', so it falls short of a 5.

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 an explicit calling sequence: first call with only 'calculadora' to get the form, then with 'calculadora' and 'dados' to run the calculation. The per-calculator 'Responde:' lines act as selection criteria among the seven options. Missing is any exclusion guidance ('use X instead for tax questions') or what to do if the data is incomplete.

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