Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
BCRP_TIMEOUTNoHTTP request timeout in seconds120
BCRP_CACHE_DIRNoDirectory for metadata cacheUser cache dir

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
search_seriesA

Search for BCRP economic indicators by keyword.

Uses deterministic search with fuzzy matching. Returns the best match or an ambiguity error if multiple matches are equally scored.

Args: query: Search term (e.g., "tipo de cambio", "inflacion", "PBI")

Returns: JSON string with match result containing codigo_serie and confidence, or error details if ambiguous or not found.

get_dataA

Fetch time series data for specific BCRP series codes.

Args: series_codes: List of BCRP series codes (e.g., ["PN01652XM", "PD04638PD"]) period: Date range in format 'YYYY-MM/YYYY-MM' or single 'YYYY-MM'. If None, returns all available data.

Returns: JSON string with array of records containing 'time' and values.

get_tableB

Get a formatted table with custom column names.

Args: series_codes: List of BCRP series codes to retrieve names: Optional custom names for columns (must match series_codes length) period: Date range in format 'YYYY-MM/YYYY-MM' or 'YYYY'

Returns: JSON string with formatted table data.

plot_chartA

Generate a professional chart for BCRP series data. Returns the path to the saved PNG file.

Args: series_codes: List of BCRP series codes to plot period: Date range in format 'YYYY-MM/YYYY-MM' (optional) title: Custom chart title (optional, uses series name if not provided) names: Custom names for each series in legend (optional) output_path: Custom output path for the chart (optional)

Prompts

Interactive templates invoked by user choice

NameDescription
economista_peruanoPrompt para actuar como un experto economista peruano (BCRP). Usa este prompt para analizar datos con rigor técnico y contexto local.
analista_financieroPrompt para análisis de mercados financieros (Forex, Tasas). Enfocado en movimientos de corto plazo y niveles técnicos.
explorador_datosPrompt para ayudar a descubrir códigos de series del BCRP. Actúa como un bibliotecario de la base de datos BCRP.

Resources

Contextual data attached and managed by the client

NameDescription
get_metadataRetorna resumen de metadatos en caché incluyendo conteo total.
get_key_indicatorsRetorna lista de los principales indicadores económicos.
get_helpRetorna guía de uso del servidor MCP BCRP.

TDQS

A3.9/5.0

Scored across 4 tools

Disambiguation5/5

Each tool has a clearly distinct purpose: get_data retrieves raw time series data, get_table provides formatted tabular data, plot_chart generates visual charts, and search_series helps find series codes. There is no functional overlap between these tools, making selection straightforward for an agent.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern with snake_case: get_data, get_table, plot_chart, and search_series. The naming convention is predictable and readable throughout the toolset.

Tool Count5/5

With 4 tools, this server is well-scoped for working with BCRP economic data. Each tool serves a distinct purpose in the data workflow (search, retrieve raw data, format tables, visualize), and none feel extraneous or missing for the domain.

Completeness4/5

The toolset covers the essential workflow for BCRP data analysis: searching for series, retrieving data in different formats, and visualizing results. A minor gap exists in lacking update/delete operations, but these are likely unnecessary for read-only economic data access, and agents can work effectively with the provided tools.

Maintenance

ActivityMaintained
ResponsivenessNo issues