Skip to main content
Glama

SLDX API

Dados ao vivo de moedas e criptomoedas

get_currency_live
Read-onlyIdempotent

Retorna dados ao vivo de moedas e criptomoedas, separados em duas seções (fiat e crypto), cada uma com preço cruzado em múltiplas moedas e variação de 24h. 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_live"
  }
}

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint, so safety is covered. The description adds genuinely non-schema information: the credit cost per call and the two-section structure of the response (fiat vs crypto, cross prices, 24h change). It stops short of explaining pagination, rate limits, or behavior when 'codigos' is omitted.

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 zero filler: the first front-loads what the tool returns and how it is split, the second front-loads the cost. Every clause carries information an agent needs.

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

Completeness4/5

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

There is no output schema, so the description's sketch of the return shape (two sections, cross prices, 24h variation) is doing necessary work, and the credit cost is disclosed. The main remaining gap for a financial-data tool is that all parameters are optional yet the description never says what the default call returns or whether omitting 'codigos' returns everything.

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, e.g. 'BTC,USD') fully documented in the schema. The description adds only the notion that quotes are cross-referenced across multiple currencies, without clarifying how 'codigos' interacts with that output or what happens with zero arguments (all parameters are optional).

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+resource ('Retorna dados ao vivo de moedas e criptomoedas') and adds the return shape: two sections (fiat and crypto) with cross-currency prices and 24h variation. The word 'ao vivo' implicitly separates it from get_currency_historical, but no sibling is named explicitly, so it falls short of a 5.

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: 'ao vivo' signals a live-quote tool, which an agent can contrast with historical or quote siblings, but the definition never states when to prefer this over get_currency_quote or get_currency_historical. No prerequisites, exclusions, or alternative-selection guidance are given.

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.