Skip to main content
Glama

bcb_serie_metadados

Read-onlyIdempotent

Retrieve descriptive metadata (name, unit, frequency, source, category) for a Brazilian Central Bank time series to verify its meaning and unit before fetching values.

Instructions

Obtém os metadados descritivos de UMA série do BCB (nome, unidade de medida, periodicidade, fonte, categoria), sem trazer a série de valores. Quando usar: para confirmar o que uma série representa e em que unidade 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, unidade, periodicidade, fonte, categoria, especial e URLs diretas da API (urlConsulta, urlUltimos10). Se o endpoint de metadados do BCB não responder, faz fallback para o catálogo interno ou para o último valor disponível, sinalizando a origem em observacao. 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
codigoYesCódigo da série no SGS/BCB
nomeYesNome da série
unidadeNoUnidade de medida
periodicidadeNoPeriodicidade da série
fonteYesFonte dos dados
categoriaNoCategoria econômica
especialNoIndica se é uma série especial
ultimoValorNoÚltima observação disponível (fallback)
urlConsultaNoURL da API do BCB para consulta completa
urlUltimos10NoURL da API do BCB para os últimos 10 valores
observacaoNoObservação sobre a origem dos metadados
Behavior5/5

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

Annotated as read-only, idempotent, non-destructive. Description adds fallback behavior (to internal catalog or last value), retry logic (up to 3 attempts with exponential backoff), error handling (404 messages in Portuguese), and output format details (JSON, structuredContent, date format). No contradiction.

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?

Description is relatively long but well-structured: purpose first, usage guidelines, return fields, fallback, retries, error handling, output format. Every sentence adds value. Slightly verbose but acceptable.

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?

Given output schema exists, description still covers fallback, retry, error messages, and format details fully. For a tool with 1 parameter and moderate complexity, this is complete and covers all relevant behavioral aspects.

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?

Only one parameter with full schema coverage (100%). Description does not add additional parameter-specific semantics beyond schema. Baseline 3 is appropriate as the description does not improve parameter understanding.

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 clearly states the tool retrieves descriptive metadata for a single BCB series without values. It explicitly distinguishes from sibling tools bcb_serie_valores and bcb_serie_ultimos, which are for actual values.

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 explicit when-to-use ('confirmar o que uma série representa e em que unidade antes de consultar os dados') and when-not-to-use ('para os valores em si use bcb_serie_valores ou bcb_serie_ultimos'). This is exemplary guidance for an agent.

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