Skip to main content
Glama

SLDX API

Cotação histórica de moedas numa data específica

get_currency_historical
Read-onlyIdempotent

Retorna a cotação de moedas/criptomoedas numa data histórica específica. Custa 1 crédito por chamada.

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": "get_currency_historical"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoData no formato YYYY-MM-DD, ex: 2025-01-15
codigosNoCódigos separados por vírgula, ex: 'USD'

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

The annotations already declare readOnlyHint, openWorldHint and idempotentHint, so the safety profile is covered. The description's real addition is the cost disclosure ('Custa 1 crédito por chamada'), which is genuinely useful and not derivable from structured fields. However, it omits what happens with optional parameters (both are optional per schema – is the date defaulted to today?) and says nothing about the shape of the returned data.

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?

Two short sentences with no filler: the purpose comes first and the cost constraint follows. Every sentence carries distinct information and nothing is repeated from the title or schema.

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, fully documented schema with no output schema, the description is minimally adequate. It would be stronger if it stated the default behavior when 'date' or 'codigos' is omitted and roughly what the response contains (a single rate vs. a series), since the return format is the main unaddressed need.

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%, with 'date' (YYYY-MM-DD) and 'codigos' (comma-separated) each documented in the schema, so the description is not required to carry parameter meaning. The description adds nothing beyond the schema and notably does not explain the effect of supplying zero parameters, which is the main semantic gap given required=0.

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?

States a specific verb ('Retorna') and resource ('cotação de moedas/criptomoedas') qualified by 'numa data histórica específica', which implicitly separates it from the live/quote siblings. It stops short of naming any sibling explicitly, so differentiation relies on the reader inferring that 'histórica' is the distinguishing trait.

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 phrase 'numa data histórica específica' implies the use case (fetching a past rate rather than a current one), but there is no explicit when-to-use statement, no exclusion of the live/quote alternatives, and no mention of what happens when the date is omitted. Guidance is inferable but not stated.

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.