Skip to main content
Glama

Better Llama — Chile, Colombia, Peru and Mexico data

Series estadísticas del Banco Central de Reserva del Perú (BCRP)

peru_bcrp_series
Read-onlyIdempotent

Consulta series estadísticas oficiales del Banco Central de Reserva del Perú (BCRPData, sin clave): tipo de cambio (dólar interbancario y SBS, euro), tasa de referencia de política monetaria, tasa interbancaria, TAMN, inflación del IPC de Lima Metropolitana (mensual, 12 meses, subyacente, sin alimentos y energía), expectativas de inflación y PBI, PBI, reservas internacionales netas, exportaciones y cualquier otra serie por su código BCRP (p. ej. PD04638PD). operation="series" (por defecto): devuelve hasta 10 series entre fromDate y toDate, del dato más reciente al más antiguo, con fecha ISO y valor numérico. operation="catalogo": lista el catálogo de series populares con alias (p. ej. tc_interbancario_venta, inflacion_12m, tasa_referencia). / Peru central bank (BCRP) statistics: exchange rate, policy rate, inflation, GDP, reserves.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "peru_bcrp_series"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryNocatalogo: filtra por texto, p. ej. "tipo de cambio", "inflación", "tasa", "reservas".
seriesNoseries: códigos BCRP (p. ej. "PD04638PD") o alias del catálogo (tc_interbancario_venta, tc_interbancario_compra, tc_sbs_venta, tc_sbs_compra, tc_euro_venta, tc_interbancario_venta_mensual, tasa_referencia, tasa_referencia_mensual, …). Máximo 10.
toDateNoseries: hasta (AAAA-MM-DD, AAAA-MM o AAAA). Por defecto hoy (hora de Lima).
fromDateNoseries: desde (AAAA-MM-DD, AAAA-MM o AAAA). Se adapta a la frecuencia de cada serie (mes, trimestre o año que contiene la fecha). Por defecto: 45 días (diarias), 24 meses (mensuales), 12 trimestres o 10 años.
maxItemsNoMáximo de resultados a devolver (1-1000). Por defecto 30.
operationNoseries = valores de una o más series; catalogo = lista de series populares con su alias y código.series

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, openWorld), and the description adds real behavior on top: no API key required, results are ordered newest→oldest, up to 10 series per call, and dates adapt to each series' frequency with stated default windows. It does not say what happens on unknown codes or partial failures, which is the remaining gap.

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?

Front-loads the purpose and candidate series, then covers operation modes and return shape in a compact run of sentences; the bilingual tail is a cheap one-liner for retrieval. The long enumeration of inflation and FX variants is dense but earns its place by matching user query vocabulary; only slight trimming would improve it.

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?

With no output schema, the description usefully specifies the return shape (ISO date plus numeric value, newest-first, capped series count) and all defaults, which is what an agent needs to call it correctly with zero required parameters. Missing only error/empty-result behavior and whether truncation is signaled, so it is not fully complete.

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?

Schema description coverage is 100%, so every parameter is already documented in the schema, including the alias list, date formats, defaults, and the 30/1–1000 maxItems bounds. The description mostly restates those same facts (10-series cap, ISO dates, default ranges) rather than adding new syntax or edge-case meaning, so the baseline of 3 is right.

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?

States a specific verb and resource ('Consulta series estadísticas oficiales del BCRP') and enumerates the concrete domains covered (exchange rate, policy rate, TAMN, inflation, GDP, reserves, exports) plus the escape hatch of any series by BCRP code. It also separates the two operations, so an agent can distinguish it from the Chile/Colombia siblings without opening any schema.

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?

It clearly routes between operation="series" and operation="catalogo" (use catalogo to discover aliases, series to fetch values), which is the main selection decision an agent faces here. What it lacks is an explicit statement of when *not* to use this tool or a named alternative for non-Peru data, so it stops short of full when/when-not guidance.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources