Skip to main content
Glama

TgPay Crypto Merchant API

getExchanges

Read-only

List the app's balance exchanges.

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

Input Schema

NameRequiredDescriptionDefault
countNoPage size (default 100).
offsetNoSkip this many.
spend_idNoFilter by idempotency key.
exchange_idsNoComma-separated exchange ids (uuid).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

C2.6/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the safety profile is covered. The description adds almost nothing beyond that: no pagination behavior (despite count/offset params), no default ordering, no indication of what an exchange record represents. For a read-only listing endpoint the bar is low, but this description clears it only barely.

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?

A single short sentence with zero wasted words, front-loaded with the verb. Its brevity is efficient, though the same brevity is what leaves the purpose under-specified.

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

Completeness2/5

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

With no output schema, the description is the only place an agent could learn what an exchange record contains or how results are ordered/paged, and it says nothing. For a listing tool with four optional filters and no required parameters, this is an incomplete definition.

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%, so all four parameters (count, offset, spend_id, exchange_ids) are documented in structured form, which sets the baseline at 3. The description contributes no additional meaning about filter interaction or default result set.

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

Purpose3/5

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

"List the app's balance exchanges" gives a verb (List) and a resource (balance exchanges), which is more than a tautology, but the resource is ambiguous among the several exchange-related siblings (getExchangeEstimate, getExchangePairs, getExchangeRates). It never states whether these are conversion transactions, rate quotes, or balance-movement records, so an agent must guess at the boundary.

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

Usage Guidelines2/5

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

There is no when-to-use or when-not-to-use guidance and no mention of the close siblings that retrieve exchange estimates, pairs, or rates. The agent gets no signal about which of these to pick when a user asks about currency conversion.

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.

Resources