Skip to main content
Glama
Val7h

dados-b3-mcp

multiplos

Get point-in-time valuation multiples (P/E, P/B, EV/EBITDA) for B3 companies, using price on first trading day after earnings publication to prevent look-ahead bias.

Instructions

Múltiplos de avaliação ponto-no-tempo de uma empresa da B3.

Devolve P/L, P/VP e EV/EBITDA por exercício, mais P/L TTM por trimestre.

O preço usado é o do primeiro pregão A PARTIR da data real de publicação
do balanço (na maioria dos casos, o próprio dia da entrega) — não o
fechamento do exercício, que ninguém conhecia naquela data. É essa escolha que elimina o look-ahead e permite usar a série em
backtest sem contaminar o passado.

Parâmetros:
  ticker — código da ação na B3, em maiúsculas e com o dígito da classe.
    Exemplos: "WEGE3", "PETR4", "SANB11". Veja `listar_empresas`.
  chave_api — chave do Dados B3. Dispensável para WEGE3, aberta como
    degustação; necessária para as demais. Deixe "" para usar a variável
    de ambiente DADOS_B3_API_KEY, quando existir.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tickerYes
chave_apiNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

With no annotations, the description carries the disclosure burden. It explains the crucial behavioral choice: price is taken from the first trading session after the actual balance-sheet publication date to avoid look-ahead. It also discloses API-key requirements and the WEGE3 free-tasting exception. No contradiction with annotations exists.

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 front-loaded with the purpose and outputs, followed by the single most important caveat (point-in-time pricing), then parameters. Every sentence adds value; the methodological note is justified because it directly affects how the returned data should be interpreted.

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?

Given there is no output schema, the description gives a clear high-level list of returned metrics and the core pricing convention. It is slightly lacking an exact response structure or error/availability caveats, but nothing an agent needs to invoke the tool with correct parameters is missing.

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

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate, and it fully does. It explains ticker format (uppercase, class digit), gives examples, points to listar_empresas, and details chave_api behavior including the environment-variable fallback and the WEGE3 exception.

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?

The description uses a specific verb ('Devolve') and identifies the resource: point-in-time valuation multiples for a B3 company. It names concrete outputs (P/L, P/VP, EV/EBITDA per fiscal year, plus P/L TTM per quarter), which clearly separates it from siblings like dividendos or fatos_contabeis.

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?

The description explicitly frames the tool for backtesting: 'permite usar a série em backtest sem contaminar o passado.' It does not state explicit exclusions or name a specific alternative tool, but the use case and point-in-time methodology are clear enough for an agent to choose it over raw financial-data siblings.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.