Skip to main content
Glama
SidneyBissoli

Banco Central do Brasil (BCB) — SGS MCP

bcb_focus_selic

Read-onlyIdempotent

Get market expectations for the Selic rate by Copom meeting. Returns average, median, standard deviation, min, max, and respondent count. Use to see expected interest rate trajectory for upcoming meetings.

Instructions

Consulta as expectativas de mercado do Focus para a taxa Selic, organizadas pela REUNIÃO do Copom (formato R1/2026 = 1ª reunião de 2026). Devolve média, mediana, desvio padrão, mínimo, máximo e número de respondentes por data de coleta. Quando usar: para 'o que o mercado espera da Selic na próxima reunião' ou a trajetória esperada de juros. Quando NÃO usar: para expectativa de Selic média de um ano civil use bcb_focus_expectativas com horizonte anual; para a Selic REALIZADA use bcb_serie_valores (códigos 432, 1178, 4390). É separada de bcb_focus_expectativas porque o eixo temporal é a reunião do Copom, não o calendário. Retorna: base (consenso|top5), filtro, totalRegistros, expectativas (com referencia = reunião), urlConsulta, consultadoEm e observacaoEixo. Sem datas, a janela padrão é de 30 dias. 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
top5NoExpectativas do Top 5 em vez do consenso
limiteNoMáximo de coletas a devolver (1-500, padrão 50)
reuniaoNoReunião do Copom no formato R1/2026 (opcional; sem ela, todas as reuniões da janela)
dataFinalNoFim da janela de COLETA (yyyy-MM-dd ou dd/MM/yyyy). Padrão: hoje.
dataInicialNoInício da janela de COLETA (yyyy-MM-dd ou dd/MM/yyyy). Padrão: 30 dias antes do fim.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
baseYes
filtroYesFiltro efetivamente aplicado; `reuniao` é nula quando não foi informada
observacaoNo
provenanceYesBloco de proveniência (contrato v1.0): fonte, URL, competência, extração e licença
attributionYesURLs canônicas das fontes desta resposta (lista de atribuição)
urlConsultaYes
consultadoEmYes
expectativasYes
observacaoEixoNo
totalRegistrosYes

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed3 schema fields changedv1.9.2
    • addedOutput schema / properties / attribution
      Added value: +{
      +  "description": "URLs canônicas das fontes desta resposta (lista de atribuição)",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / provenance
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "Bloco de proveniência (contrato v1.0): fonte, URL, competência, extração e licença",
      +  "properties": {
      +    "citation": {
      +      "description": "Citação pronta para uso",
      +      "type": "string"
      +    },
      +    "data_vintage": {
      +      "description": "Competência do dado segundo a fonte; null quando a fonte não expõe",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "license": {
      +      "description": "Regime legal do dado",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "retrieved_at": {
      +      "description": "Instante REAL da extração na origem (ISO-8601, horário de Brasília). Resposta servida de cache mantém o instante do fetch ORIGINAL, que é a data de extração relevante.",
      +      "type": "string"
      +    },
      +    "source": {
      +      "description": "Fonte oficial do dado",
      +      "type": "string"
      +    },
      +    "source_url": {
      +      "description": "URL canônica que reproduz a consulta",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "source",
      +    "source_url",
      +    "data_vintage",
      +    "retrieved_at",
      +    "citation",
      +    "license"
      +  ],
      +  "type": "object"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "base",
      -  "filtro",
      -  "totalRegistros",
      -  "expectativas",
      -  "urlConsulta",
      -  "consultadoEm"
      -]New value: +[
      +  "base",
      +  "filtro",
      +  "totalRegistros",
      +  "expectativas",
      +  "urlConsulta",
      +  "consultadoEm",
      +  "provenance",
      +  "attribution"
      +]
  2. Addedv1.6.0

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint, lowering the bar. The description still adds significant behavioral context: the vintage nature of Focus, the meaning of coletadoEm versus referencia, the fact that $count is ignored (count computed locally), the mandatory filter due to source limitations, and the non-exposure of microdata for confidentiality. No contradictions with annotations.

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?

Although long, every sentence carries operational weight: purpose, return statistics, use exclusions, response fields, default window, source attribution, and the vintage data caveat. It is dense but efficient, with no filler or repetition of schema details.

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?

For a tool with five optional parameters, complex temporal semantics, and multiple siblings, the description fully explains the Copom meeting axis, the data collection window, the return structure (including 'base', 'filtro', 'referencia'), and source limitations. An output schema exists, so return values are covered by structured data; no additional enumeration needed.

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 description coverage is 100%, so the baseline is 3. The description adds value beyond the schema by explaining the default 30-day collection window, reinforcing the date format expectations, and clarifying that 'referencia' is the Copom meeting rather than the calendar year. This pushes it slightly above baseline.

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 opens with a specific verb and resource: 'Consulta as expectativas de mercado do Focus para a taxa Selic' and clarifies the organizing axis ('organizadas pela REUNIÃO do Copom'). It explicitly distinguishes this tool from siblings by naming bcb_focus_expectativas (annual calendar) and bcb_serie_valores (realized Selic), and states why it is separate.

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?

It provides explicit 'Quando usar' ('o que o mercado espera da Selic na próxima reunião') and 'Quando NÃO usar' with named alternatives and even series codes for bcb_serie_valores (432, 1178, 4390). This is exemplary guidance, exceeding the minimum expected.

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

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