Skip to main content
Glama

Indicadores anuais de uma empresa

indicadores_anuais
Read-onlyIdempotent

ROE, ROIC, margens, crescimento da receita e dívida líquida/EBITDA de uma AÇÃO, ano a ano desde 2010. Use quando: "qual o ROE do Itaú em 2025?"; "como está a dívida líquida da Vale em relação ao EBITDA?"; "a margem da WEG cresceu nos últimos 5 anos?". NÃO use para: P/L, P/VP, EV/EBITDA → multiplos; ano corrente ou último trimestre → trimestres; receita, lucro e contas em R$ → fatos_contabeis; FII (P/VP, DY, vacância) → fii; Basileia e inadimplência de banco → bancos. Fonte e fórmula: DFP anual da CVM, versão vigente; ROE = lucro dos controladores ÷ PL médio dos controladores; ROIC = NOPAT ÷ capital investido médio; fórmula e conta CVM de cada um em proveniencia; memória de cálculo em /linhagem/TICKER/ANO/INDICADOR. Retorna: indicadores: linhas {ano, nome, valor (decimal: 0,15 = 15%), flag}; proveniencia; citacao. flag não nula = confie menos e leia a metodologia. Vazio ou erro: banco e seguradora vêm sem ROIC e EBITDA (não se aplicam ao plano de contas). Erro de código traz sugestoes e tente_assim; FII aponta para fii. Acesso: ABERTA: qualquer ticker, sem chave, um por vez (sem chave: 2000 consultas por hora e 20000 por dia, por endereço; com chave_api vale o limite da chave). Traz citacao: cite-a ao usar o número.

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": {
      "ticker": "<ticker>"
    },
    "name": "indicadores_anuais"
  }
}

Input Schema

NameRequiredDescriptionDefault
tickerYesCódigo de AÇÃO na B3, ex.: PETR4, VALE3, ITUB4. Aceita petr4, PETR4.SA, BVMF:PETR4, PETR4F (fracionário) e código antigo (vira o atual). Código de FII ou ETF devolve a série do fundo (com `atendido_como`); BDR devolve erro com `tente_assim`.
chave_apiNoChave de API opcional. Vazia = acesso aberto: a descrição da ferramenta diz se devolve amostra ou exige chave (chave grátis, sem cartão).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / ticker / description
      Previous value: -"Código de AÇÃO na B3, ex.: PETR4, VALE3, ITUB4. Aceita petr4, PETR4.SA, BVMF:PETR4, PETR4F (fracionário) e código antigo (vira o atual). Código de FII, ETF ou BDR devolve erro com `tente_assim`."New value: +"Código de AÇÃO na B3, ex.: PETR4, VALE3, ITUB4. Aceita petr4, PETR4.SA, BVMF:PETR4, PETR4F (fracionário) e código antigo (vira o atual). Código de FII ou ETF devolve a série do fundo (com `atendido_como`); BDR devolve erro com `tente_assim`."
  2. Changed2 schema fields changed
    • changedInput schema / properties / ticker / description
      Previous value: -"Ticker da B3, como PETR4, VALE3 ou WEGE3 (sem distinção de caixa; aceita o sufixo .SA)."New value: +"Código de AÇÃO na B3, ex.: PETR4, VALE3, ITUB4. Aceita petr4, PETR4.SA, BVMF:PETR4, PETR4F (fracionário) e código antigo (vira o atual). Código de FII, ETF ou BDR devolve erro com `tente_assim`."
    • addedInput schema / properties / ticker / examples
      Added value: +[
      +  "PETR4",
      +  "VALE3",
      +  "ITUB4"
      +]
  3. Changed2 schema fields changed
    • addedInput schema / properties / chave_api / description
      Added value: +"Chave de API opcional. Vazia = acesso aberto: a descrição da ferramenta diz se devolve amostra ou exige chave (chave grátis, sem cartão)."
    • addedInput schema / properties / ticker / description
      Added value: +"Ticker da B3, como PETR4, VALE3 ou WEGE3 (sem distinção de caixa; aceita o sufixo .SA)."
  4. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare read-only, idempotent, non-destructive, closed-world, so the bar is lower, yet the description still adds source and formula (DFP anual da CVM, versão vigente), the lineage path for calculation memory, the meaning of the `flag` field (non-null = trust less, read methodology), coverage gaps (banks/insurers have no ROIC or EBITDA), error shape (`sugestoes`, `tente_assim`), and concrete rate limits (2000/hour, 20000/day per address, key overrides).

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 the metric list, then cleanly labeled blocks (Use quando / NÃO use para / Fonte e fórmula / Retorna / Vazio ou erro / Acesso). It is dense and long, but nearly every clause carries operational information; the formula definitions are the only part an agent could arguably skip.

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?

With no output schema, the description must describe returns and does: the `indicadores` rows ({ano, nome, valor with decimal convention, flag}), `proveniencia`, `citacao`, plus the empty-result and error paths. Nothing an agent needs to call this correctly is missing.

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%, so the ticker's accepted formats are already documented in the schema. The description nonetheless adds semantics the schema lacks: the access model ('um por vez') and the fact that `chave_api` changes the applicable rate limit, which is not stated in the parameter's own description.

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?

Names the exact metrics (ROE, ROIC, margens, crescimento de receita, dívida líquida/EBITDA), the resource (uma AÇÃO) and the temporal granularity (ano a ano desde 2010). An agent can distinguish it from `multiplos`, `trimestres` and `fatos_contabeis` on the description alone.

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?

Provides an explicit 'Use quando' block with three natural-language example questions and a 'NÃO use para' block that routes each out-of-scope case (P/L, P/VP, EV/EBITDA → `multiplos`; current year/quarter → `trimestres`; raw R$ line items → `fatos_contabeis`; FII → `fii`; bank capital ratios → `bancos`) to a named sibling.

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.