Skip to main content
Glama

Jabs — calculadoras financeiras do Brasil

Investimentos

investimentos
Read-only

Investimentos: renda fixa, fundos, dólar e quanto guardar para uma meta. Chame primeiro só com 'calculadora' para receber o formulário dela; depois, com 'calculadora' e 'dados', para a conta. Calculadoras:

  • compare_net_yield: Comparador de rendimento líquido. Responde: Quanto o melhor rende a mais, ao ano.

  • fund_vs_cdb: Fundo DI ou CDB, com o come-cotas. Responde: Quanto o melhor deixa a mais no bolso, no resgate.

  • compare_funds: Comparador de Fundos de Investimento. Responde: Retorno do fundo no período.

  • dollar_vs_fixed_income: Dólar ou renda fixa em reais. Responde: O dólar a partir do qual o Treasury rende mais.

  • historico_de_indice: Quanto vale hoje: um valor corrigido pela inflação, pelo CDI ou pelo dólar. Responde: Vale hoje.

  • generate_spec: Guardar por mês para uma meta. Responde: Quanto guardar 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": "investimentos"
  }
}

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

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so safety is covered. The description adds genuinely new behavior beyond those hints: calling with only 'calculadora' returns a form (fields, meanings, formats) rather than a result, which is critical for correct invocation. It says nothing about limits, error handling, or how results are shaped beyond one-line summaries.

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-loaded with the two-step protocol, then a compact bulleted catalogue where each line is one calculator plus the question it answers, with zero filler. Length is justified by the six-way dispatch.

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?

With no output schema and six calculation modes, the per-calculator 'Responde:' lines give the agent enough to describe results. It correctly delegates return-shape details to the form-returning first call. It does not state what a calculation response looks like (fields, units, currency), leaving a small gap for a dispatcher of this complexity.

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 coverage is 100% and the schema already documents 'dados', 'calculadora' and 'mostrar_a_conta' thoroughly, so the baseline is 3. The description earns an extra point by adding the sequencing semantics that the schema cannot express: 'dados' is optional and omitting it yields the form instead of a calculation, and the calculator names tie to the enum values. 'mostrar_a_conta' behavior is only explained in the schema, not repeated here.

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 (renda fixa, fundos, dólar, meta) and states the concrete operation: running one of six named calculators, each paired with the question it answers ('Quanto o melhor rende a mais, ao ano'). An agent can tell this apart from a plain 'fundos' tool because it is a multi-calculator dispatcher with an enumerated set. It stops short of explicitly saying how it differs from the sibling 'fundos' tool, so not 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?

Usage is unusually explicit: 'Chame primeiro só com calculadora para receber o formulário dela; depois, com calculadora e dados, para a conta' gives a two-step protocol with the exact argument combinations. The six-bullet list also acts as selection guidance by stating what each calculator answers. There is no when-not-to-use guidance or routing away to siblings, which keeps it at 4.

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