Skip to main content
Glama

Jabs — calculadoras financeiras do Brasil

Consultas: índices, dólar, imposto e fundos

consultas
Read-only

Consultas de dado: juros, inflação e outros índices, o dólar, as regras do imposto, os fundos e onde guardar dinheiro — o que já aconteceu e o que o mercado precifica, sem previsão. Chame com 'consulta' e, se ela pedir, 'argumentos'; sem os argumentos que ela precisa, a resposta diz o que falta. Consultas:

  • premissas_de_mercado: Mostra os dados de mercado que o Jabs usa hoje nas contas: CDI, Selic, IPCA em 12 meses, TR, juros prefixados e IPCA+ e dolar, com data e fonte.

  • cotacao_do_dolar: O dolar de hoje (PTAX), quanto variou no mes, no ano e em 12 meses, e a volatilidade. Argumentos: moeda.

  • dolar_no_passado: Quanto um valor em reais passado para dolar numa data teria hoje: o dolar parado e o dolar em Treasury de curto prazo, contra o mesmo dinheiro no CDI, sem custos nem imposto. Argumentos: de, valor.

  • taxa_equivalente: A taxa que EMPATA com um papel de renda fixa em outro papel ou indexador, ja sem o imposto: 'qual CDB empata com uma LCA de 95% do CDI que vence em 2028?', 'a partir de quantos % do CDI um CDB ganha da LCA?', 'LCI de 92% do CDI equivale a quanto num CDB?', 'que prefixado vale o mesmo que IPCA + 6%?'. Argumentos: produto, indexador, taxa, vencimento, alvo_produto, alvo_indexador.

  • projecao_de_valor: Quanto um valor vale numa data FUTURA pelo que o mercado precifica hoje: corrigido pela inflacao esperada (IPCA implicito nos titulos do Tesouro) e aplicado no CDI esperado. Argumentos: ate, valor.

  • regras_de_imposto: A tabela vigente de um imposto sobre investimentos ou salario, com a lei. Argumentos: tema.

  • panorama_da_classe: Como os fundos de uma classe renderam num periodo: a mediana, a distribuicao do retorno, da volatilidade e do Sharpe, e quantos bateram o CDI. Argumentos: classe, meses.

  • ranking_de_fundos: Lista os fundos de uma classe ordenados pelo desempenho passado: Sharpe ajustado, retorno ou volatilidade. Argumentos: classe, ordenar_por, n, meses.

  • tabela_do_itcmd: A TABELA do ITCMD (imposto sobre heranca e doacao) de UM estado: as faixas, as aliquotas e a lei estadual. Argumentos: uf, tipo.

  • reserva_de_emergencia: RESERVA DE EMERGENCIA: de quanto ela deve ser -- de 3 a 6 meses do gasto, numa tabela, sem formulario. Argumentos: gasto_mensal, ja_guardado, renda_mensal, ordem.

  • onde_guardar: ONDE GUARDAR dinheiro que se pode precisar a qualquer hora: poupanca, Tesouro Reserva e CDB de liquidez diaria lado a lado, o rendimento ja sem imposto em 1 mes, 6 meses, 1 e 2 anos (ou ate a data dita). Argumentos: valor, ate, meta.

  • comecar_a_investir: POR ONDE COMECAR A INVESTIR: a ordem (1 mes do gasto de colchao, a divida cara, a reserva de emergencia, os objetivos pelo prazo), quanto do valor da pessoa vai a cada passo e onde fica cada prazo pelo tipo de investimento, sem indicar papel. Argumentos: valor, gasto_mensal, renda_mensal, tem_divida_cara, ja_tem_reserva.

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": {
      "consulta": "<consulta>"
    },
    "name": "consultas"
  }
}

Input Schema

NameRequiredDescriptionDefault
consultaYesQual consulta, da lista da descrição.
argumentosNoOs argumentos da consulta, se ela pedir.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnly, non-destructive, non-open-world, so the safety profile is covered. The description adds real behavioral context beyond them: results are historical/precified only and never forecasts, some sub-answers exclude costs and tax ('sem custos nem imposto'), and others refuse to name specific products ('sem indicar papel'). It does not disclose data sources' freshness guarantees or what happens on an unrecognized 'consulta' value.

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?

Front-loaded with a scope sentence then a calling convention, followed by a scannable bulleted catalogue — the right structure for a 12-way dispatcher. It is long, and repetition ('Argumentos:' twelve times, shouted caps in RESERVA DE EMERGENCIA / ONDE GUARDAR / POR ONDE COMECAR A INVESTIR, and a title echoed in the intro) costs some density, but almost every line carries selection-relevant information.

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 single tool fronting twelve distinct financial queries with a nested free-form argument object and no output schema, the description is unusually complete: each sub-query gets a purpose and an argument list. Residual gaps are units and formats (percent vs. fraction), enumerations for the free-text selectors, and any hint about response shape or data vintage, none of which exist elsewhere in structured form.

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?

The schema itself is a thin bag — 'consulta' is just 'Qual consulta, da lista da descrição' and 'argumentos' is a free-form object with additionalProperties — so the description carries the real meaning, and it does list which arguments each sub-query needs (de/valor, classe/meses, uf/tipo, etc.). What it omits is value-level semantics: the allowed values of 'uf', 'classe', 'tema', 'tipo', 'ordem' and 'ordenar_por' are never enumerated, and date/number formats are unstated.

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 intro names concrete resource domains (juros, inflação, índices, dólar, imposto, fundos) and explicitly frames scope as past facts plus market-implied prices 'sem previsão', and every one of the 12 enum values gets a distinct, specific gloss. The remaining gap is sibling differentiation: sibling tools named 'fundos' and 'imposto' overlap thematically with 'ranking_de_fundos' and 'regras_de_imposto', and the description never says which surface to prefer.

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 explains the dispatch convention directly: call with 'consulta' and, if that sub-query asks for it, 'argumentos', and notes that missing arguments produce a response saying what is lacking. Concrete user-phrasing examples for taxa_equivalente ('qual CDB empata com uma LCA de 95% do CDI...') make selection easier. No exclusions or handoffs to the sibling domain tools are stated.

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