Skip to main content
Glama

Get withdrawal

jami_get_withdrawal
Read-onlyIdempotent

Fetch a withdrawal by ID to track its status from pending to processing, completed, or rejected. Use the ID from a create or list response.

Instructions

Fetch one withdrawal by id to track it from pending → processing → completed (or rejected).

Args:

  • withdrawal_id: from jami_create_withdrawal or jami_list_withdrawals.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
withdrawal_idYes
response_formatNo'markdown' (default) for a readable summary, 'json' for the full structured payloadmarkdown

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
netYes
noteNo
amountYes
statusYes
accountYes
gatewayYes
fee_minorYes
net_minorYesSantim that reaches the destination
tax_minorYes
created_atYes
amount_minorYesGross santim debited
withdrawal_idYes
idempotency_keyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered structurally. The description adds genuine value by naming the state progression the caller should expect (pending → processing → completed/rejected), but says nothing about auth, polling cadence, or eventual-consistency behavior.

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?

Purpose sentence first, then a compact Args block. Every line earns its place with no restated or decorative text.

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?

An output schema exists, so return values need not be described, and the description covers purpose, lifecycle, and parameter sourcing. It stops short of the operational details (auth scope, behavior while the withdrawal is still pending) that would make it fully self-sufficient.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 50%, so the description must carry some weight for withdrawal_id, and it does by documenting provenance (which sibling tool produces the id). The response_format enum is already fully documented inside the schema, so nothing is lost there.

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

Purpose5/5

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

Starts with a specific verb+resource ('Fetch one withdrawal by id') and adds the lifecycle it exists to observe (pending → processing → completed/rejected). The scope word 'one' plus the required id clearly separates it from jami_list_withdrawals and it is distinct from jami_quote_withdrawal.

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

Usage Guidelines4/5

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

It states the practical context (tracking a withdrawal's status) and tells the agent where the id comes from ('jami_create_withdrawal or jami_list_withdrawals'). It does not, however, say when to prefer this over jami_list_withdrawals or a wait/poll alternative, so no explicit exclusions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.