Skip to main content
Glama

bcb_focus_referencias

Read-onlyIdempotent

Lists the indicators and reference strings that Focus publishes for each scope, so you can query expectations and Copom meetings with the exact strings, avoiding empty results.

Instructions

Lista, POR ESCOPO, os indicadores e as referências que o Focus efetivamente publica, para você usar o texto EXATO em bcb_focus_expectativas e em bcb_focus_selic. Escopo = os cinco horizontes de bcb_focus_expectativas mais 'selic', que não é horizonte: o eixo dela é a reunião do Copom, e quem a consome é bcb_focus_selic. Cada bloco diz em tool quem o consome. Quando usar: antes da primeira consulta ao Focus, ou quando uma consulta volta vazia — a causa mais comum não é o dado faltar, é o indicador não existir NAQUELE escopo (a fonte publica 9 indicadores no mensal e 26 no anual: 'PIB Total', por exemplo, não existe no mensal) ou a referência estar num formato diferente do publicado. Quando NÃO usar: para os valores das expectativas em si. Sem escopo, consulta os seis e devolve tudo; com escopo, consulta só aquele. Retorna: escopos (para cada um: tool que o consome, formatoReferencia, exigeReferencia, temTop5, indicadores, referencias, urlConsulta e disponivel), mais indicadores e referencias como união de todos, janela, totalRegistros e consultadoEm. Se algum escopo não responder, os demais voltam mesmo assim, com falhas preenchido. Fonte: Expectativas de Mercado (Focus) do Banco Central do Brasil, via Olinda OData. O Focus é vintage por construção: coletadoEm é a data da coleta e referencia é o alvo da expectativa — a mesma referência aparece em muitas coletas, e é isso que permite ver a expectativa mudar no tempo. A contagem é feita do nosso lado porque a fonte ignora $count; e o filtro é obrigatório por construção porque consulta sem filtro não completa na origem. Microdados por instituição NÃO são expostos: a fonte desativou esse recurso por risco de quebra de confidencialidade.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
escopoNoRestringe a descoberta a um escopo (opcional). 'selic' descobre as reuniões do Copom para bcb_focus_selic; os demais são os horizontes de bcb_focus_expectativas.
indicadorNoFiltrar por um indicador específico, para ver em quais escopos ele existe (opcional)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
falhasNoEscopos que não responderam nesta consulta
filtroNoFiltro pedido; nulo onde o parâmetro não foi informado
janelaYesJanela de coleta observada para montar as listas
escoposYesUm bloco por escopo: regras do contrato mais o que a fonte publica nele
observacaoNo
indicadoresYesUnião dos indicadores de todos os escopos consultados
referenciasYesUnião das referências de todos os escopos consultados
consultadoEmYes
totalRegistrosYes
observacaoFalhasNo
Behavior5/5

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

Even though annotations already declare readOnlyHint, openWorldHint, idempotentHint, and destructiveHint, the description adds substantial behavioral context: the vintage nature of Focus data, the 'coletadoEm'/'referencia' semantics, the fact that counting is done client-side because the source ignores $count, and that the filter is mandatory because unfiltered queries don't complete. It also discloses partial failure behavior ('Se algum escopo não responder, os demais voltam mesmo assim') and confidentiality limitations. This far exceeds the annotation baseline.

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?

The description is long, but it is well-structured into clear sections (purpose, scope definition, when to use, when not to use, return shape, failure behavior, source details, and caveats). While some sentences are dense, each contributes to correct usage and avoids ambiguity. It is not as tight as a two-sentence description, but the complexity of the tool justifies its length.

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?

The description covers the tool's full context: its relationship to sibling tools, the meaning of 'escopo', return structure (including the 'falhas' field for partial failures), source provenance, data vintage semantics, mandatory filter constraints, and confidentiality limits. Even with an output schema present, the description provides additional operational context that an agent needs to select and interpret results correctly.

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 coverage is 100%, but the description adds meaning beyond the schema by explaining how 'escopo' maps to the five horizons of bcb_focus_expectativas plus 'selic', and clarifies that 'selic' refers to Copom meetings, not a time horizon. It also explains the behavior of omitting 'escopo' (queries all six and returns everything) vs. providing it (restricts to that scope), which is not evident from the schema alone.

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 states a specific verb and resource: 'Lista, POR ESCOPO, os indicadores e as referências que o Focus efetivamente publica' – it clearly explains what the tool does and names the exact consumers (bcb_focus_expectativas, bcb_focus_selic), distinguishing it from sibling tools. The phrase 'para você usar o texto EXATO' further clarifies its role as a discovery/preparation tool, not a data retrieval tool.

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?

The description explicitly states when to use ('antes da primeira consulta ao Focus, ou quando uma consulta volta vazia') and when not to use ('para os valores das expectativas em si'). It even explains the root cause of empty results (indicator not existing in that scope or reference format mismatch), which is actionable guidance beyond mere context.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/SidneyBissoli/bcb-br-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server