Skip to main content
Glama

Serie

serie
Read-only

Downloads official BCRP statistical series data between two dates for a given series code, returning figures with their source URL. Find the code first with buscar_series.

Instructions

Descarga los datos de una serie del BCRP entre dos fechas, con la URL de la fuente.

Usen primero buscar_series para conseguir el código. Fechas: "2025-01" para series mensuales, "2026-10-01" para diarias, "2025-T1" para trimestrales y "2025" para anuales (un año suelto también vale). Ejemplo: serie("PN01273PM", "2025-01", "2025-12"). Para variaciones o promedios usen resumen.

Input Schema

NameRequiredDescriptionDefault
desdeYes
hastaYes
codigoYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, and the description is consistent with a safe external data download. It adds useful context such as the source URL inclusion and the prerequisite code lookup, though it does not discuss rate limits, error behavior, or whether date ranges are inclusive.

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 front-loaded with the core action, followed immediately by the prerequisite, date formats, example, and sibling alternative. Every sentence contributes practical invocation guidance without unnecessary repetition.

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 three-parameter read-only data retrieval tool with an output schema, the description supplies the needed prerequisite, date semantics, example, and alternative routing. Return-value details are appropriately left to the output schema.

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 0%, so the description must carry parameter meaning, and it mostly does: it explains that the code should come from buscar_series and gives accepted date formats with a concrete example. Minor gaps remain around exact date-boundary behavior and explicit parameter-name mapping.

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: downloads BCRP series data between two dates, including the source URL. It also distinguishes itself from siblings by naming buscar_series for code lookup and resumen for variations/averages.

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?

Explicitly says to use buscar_series first to get the series code and to use resumen instead for variations or averages. It also gives concrete date-format guidance for monthly, daily, quarterly, and annual series.

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

Deploy Server

Other Tools