Skip to main content
Glama

Prime Rate

prime_rate
Read-onlyIdempotent

brapi.dev, prime/benchmark interest rate series (Selic/base rate) for Brazil or other countries. Optional historical flag plus start/end date range returns rate readings over time.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "end": "2024-01-01",
      "start": "2020-01-01",
      "country": "BR",
      "historical": true
    },
    "name": "prime_rate"
  }
}

Input Schema

NameRequiredDescriptionDefault
endNo
startNo
sortByNo
countryNo
sortOrderNo
historicalNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, open-world and non-destructive, so the safety profile is covered; the description adds that data comes from brapi.dev and that historical mode returns readings over time. It says nothing about rate limits, empty-result behavior, or coverage lag, and need not describe returns since an output schema exists.

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?

Two sentences, front-loaded with the data source and resource, with no filler. It could be tightened slightly, but nothing is wasted.

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?

With an output schema and rich annotations, the remaining burden is parameter and routing detail. The description covers the primary time-series mechanism but omits sorting semantics and value formats for half the parameters, which is a meaningful gap for a six-parameter tool.

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 0% across six parameters, so the description must carry the burden; it does explain the historical flag and the start/end range, and hints at country via 'Brazil or other countries'. It leaves sortBy, sortOrder and the date format/valid country codes completely undefined.

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?

Names a specific resource (prime/benchmark interest rate series, explicitly Selic/base rate) and its source (brapi.dev), so the agent knows exactly what data it returns. It does not differentiate from nearby siblings such as brapi_inflation or brapi_currency, leaving the agent to infer which rate series is appropriate.

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?

The clause about an optional historical flag plus a start/end range implies the main usage pattern (point-in-time vs. time series), but there is no explicit when-to-use/when-not statement and no routing to alternative rate or macro tools.

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.