Skip to main content
Glama

TgPay Crypto Merchant API

getWithdrawFees

Read-only

What a withdrawal costs per asset and network: the network fee charged on top of the amount (fee; fee_empty to a never-used address where it differs) and the least amount.

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

Input Schema

NameRequiredDescriptionDefault
assetNoOnly this asset.
networkNoOnly this network code.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.2/5.0
Behavior3/5

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

The annotations already establish read-only and non-destructive behavior. The description adds useful domain semantics: the fee is charged on top of the amount, fee_empty applies to a never-used address where it differs, and it returns the least amount. It does not cover auth, caching, or output shape.

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?

The description is one front-loaded sentence with no filler. The parenthetical is dense but purposeful, though 'least amount' is slightly informal.

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?

For a simple read-only lookup with two fully described optional filters, the description covers the key returned concepts. It could be clearer about units or output structure, but the main fee semantics are present.

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?

Both asset and network are fully documented in the schema, and the description only restates that results are per asset and network. It adds no filtering syntax or edge-case behavior beyond the schema baseline.

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 states that the tool returns withdrawal costs per asset and network, including the network fee and minimum amount. It is specific about the resource and returned concepts, but it does not explicitly contrast with sibling retrieval tools such as getWithdrawals.

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 explicit when-to-use or when-not-to-use guidance and no named alternative. The context implies checking fees before withdrawing, but that is left for the agent to infer.

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