Skip to main content
Glama
SidneyBissoli

Banco Central do Brasil (BCB) — SGS MCP

bcb_serie_metadados

Read-onlyIdempotent

Check a BCB economic series' metadata (name, frequency, category, source, last value) before querying data. Use to confirm what a series represents and its publication frequency.

Instructions

Obtém a descrição de UMA série do BCB (nome, periodicidade, categoria, fonte e último valor), sem trazer a série histórica. Quando usar: para confirmar o que uma série representa e com que frequência é publicada antes de consultar os dados. Quando NÃO usar: para os valores em si use bcb_serie_valores ou bcb_serie_ultimos. Retorna: codigo, nome, periodicidade, categoria, fonte, ultimoValor e URLs diretas da API (urlConsulta, urlUltimos10). Limite da fonte: a API do SGS NÃO publica endpoint de metadados por série — não há unidade de medida disponível. Nome e categoria vêm do catálogo curado do servidor (139 séries verificadas contra a origem) e, fora dele, a periodicidade é inferida do espaçamento das observações, sinalizada por periodicidadeInferida. Comportamento: consome a API pública SGS do Banco Central do Brasil — sem autenticação, chave de API ou cadastro, e sem limite de requisições divulgado (uso é best-effort). Em falha transitória ou timeout a chamada é repetida automaticamente (até 3 tentativas, backoff exponencial); persistindo o erro, retorna isError: true com mensagem em português (HTTP 404 = série inexistente ou sem dados no período solicitado). O resultado vem como JSON tanto em texto quanto em structuredContent (conforme o outputSchema); datas no formato dd/MM/yyyy e valores numéricos (ponto decimal).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codigoYesCódigo da série no SGS/BCB

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
nomeYesNome da série
fonteYesFonte dos dados
codigoYesCódigo da série no SGS/BCB
categoriaNoCategoria econômica
observacaoNoObservação sobre a origem dos metadados
provenanceYesUm bloco por procedência que contribuiu com esta resposta (contrato v1.0; licenças nunca se fundem)
attributionYesURLs canônicas das fontes desta resposta (lista de atribuição)
ultimoValorNoÚltima observação disponível
urlConsultaNoURL da API do BCB para consulta completa
urlUltimos10NoURL da API do BCB para os últimos 10 valores
periodicidadeNoPeriodicidade da série
periodicidadeInferidaNoPresente e true quando a periodicidade foi inferida do espaçamento das observações
Behavior5/5

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

Beyond the annotations (readOnlyHint, idempotentHint, etc.), the description discloses valuable behavioral details: the SGS API has no public metadata endpoint, the catalog is curated for 139 series, periodicity may be inferred and flagged as periodicidadeInferida, no authentication is needed, retries happen up to 3 times with exponential backoff, and errors return isError with Portuguese messages. It also explains HTTP 404 semantics. These details add real transparency beyond what annotations provide.

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 long but every sentence adds information: use-case, non-use-case, returned fields, source limitations, inference behavior, retry logic, error format, and output format. It is well structured with informative labels (Quando usar, Quando NÃO usar, Retorna, Limite, Comportamento), so even the length feels purposeful and easy to scan.

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 purpose, usage context, behavioral quirks, retry logic, error handling, output shape, and even caveats about the curated catalog and inferred periodicity. Given the simple schema (one required parameter), the annotations, and the existing output schema, the description is fully complete for tool selection and invocation.

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

Parameters3/5

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

The schema already has 100% coverage for the single parameter (codigo) with a clear description: 'Código da série no SGS/BCB.' The tool description references the code indirectly by saying 'UMA série' and how to use it to confirm the series, but it does not add material semantic detail beyond the schema. This aligns with the baseline of 3 for high schema coverage.

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: 'Obtém a descrição de UMA série do BCB' and immediately restricts the scope by saying 'sem trazer a série histórica.' It also lists exact returned fields (nome, periodicidade, categoria, fonte, último valor), and the 'Quando NÃO usar' line differentiates it from sibling tools like bcb_serie_valores and bcb_serie_ultimos.

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 provides explicit usage guidance: 'Quando usar: para confirmar o que uma série representa e com que frequência é publicada' and 'Quando NÃO usar: para os valores em si use bcb_serie_valores ou bcb_serie_ultimos.' This gives the agent clear when-to-use and when-not-to-use criteria with named alternatives.

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