Skip to main content
Glama

withdraw_nnt200

Withdraw an underlying ASA from an NNT200 wrapper contract by burning ARC-200 wrapped tokens, returning base64-encoded unsigned transactions for signing.

Instructions

Withdraw an ASA (non-network token) from an NNT200 wrapper contract by burning ARC-200 wrapped tokens. Returns base64-encoded unsigned transactions for signing.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "appId": "<appId>",
      "assetId": "<assetId>",
      "sender": "<sender>",
      "amount": "<amount>"
    },
    "name": "withdraw_nnt200"
  }
}

Input Schema

NameRequiredDescriptionDefault
appIdYesNNT200 wrapper contract application ID
amountYesAmount to withdraw in human-readable units
senderYesSender wallet address
assetIdYesUnderlying ASA ID to withdraw
decimalsNoToken decimals (default 6)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations present, the description carries the full burden, and it discloses two behaviors not derivable from the schema: tokens are consumed by burning ARC-200 wrapped tokens, and the call returns unsigned base64 transactions rather than submitting them. It stops short of stating failure conditions (amount exceeding balance), fee expectations, or whether the withdrawal is partial or full.

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 sentences, both front-loaded, with the action first and the return contract second. Nothing is padding or redundant.

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?

With no output schema, the description correctly covers the return value (base64-encoded unsigned transactions for signing), and the fully documented schema removes the need to restate parameters. What remains missing is how this differs from the near-identical withdraw_nt200 sibling, which matters for selection in this crowded namespace.

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 every one of the five parameters is already documented in structured data, including the default for decimals. The description adds no meaning beyond the schema, which is the baseline case for 3.

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 and resource (withdraw an ASA from an NNT200 wrapper) and the mechanism (burning ARC-200 wrapped tokens), which is concrete enough to act on. It does not explicitly disambiguate itself from the closely named sibling withdraw_nt200, leaving that distinction to inference.

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 context in which this applies is implied by 'withdraw ... from an NNT200 wrapper contract', but there is no explicit when-to-use guidance, no stated prerequisites (sufficient ARC-200 balance, correct appId), and no naming of the deposit counterpart or the alternate withdraw tool.

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