Skip to main content
Glama

marketscrypto__bcrp_pen_rate

Get PEN per USD selling rate (SBS) from Peru's BCRP by currency code, e.g. query "USD". Official public data — free use with attribution. License: Official central bank reference rates — public data, free use with attribution.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "query": "<query>"
    },
    "name": "marketscrypto__bcrp_pen_rate"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax results, 1-20 (default 5).
queryYesSearch term for this source (see the tool description for what it expects).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the burden. It does disclose useful behavior — this is the SBS *selling* rate (not buying), official public data, free use with attribution, implying no auth needed. It omits whether the rate is latest-only or historical, how results are ordered, and what the response looks like.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core sentence is front-loaded and efficient, but the licensing clause is duplicated almost verbatim ('Official public data — free use with attribution' then 'License: Official central bank reference rates — public data, free use with attribution'), wasting roughly a third of the text.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-parameter read-only rate lookup with full schema coverage and no output schema, the definition covers the essentials. It still leaves open the temporal scope of the rate and the currency-code vocabulary (ISO codes vs other identifiers), which an agent would need before calling confidently.

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 coverage is 100%, so the baseline is 3, but the description adds real meaning the schema lacks: 'query' is a currency code with 'USD' as a concrete example, whereas the schema only says 'Search term for this source (see the tool description)'. The 'limit' parameter is left entirely to the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a concrete verb and resource — 'Get PEN per USD selling rate (SBS) from Peru's BCRP' — plus a usage example ('e.g. query "USD"'). The country, institution and currency pair identify it well enough against siblings like bcb_ptax_rate or colombia_trm_rate, though it never explicitly contrasts itself with them.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: the reader infers you pass a currency code such as 'USD'. There is no statement of when to prefer this over the other central-bank rate tools, no exclusions, and no note on what happens with an unsupported code.

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.