Skip to main content
Glama

arc200_approve_txn

Authorize a spender with an ARC-200 approve transaction. Simulates the owner's approval and returns an unsigned payload ready for signing.

Instructions

Simulate ARC-200 approve(spender, amount); owner signs.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
appIdYesApplication ID of the ARC-200 or ARC-72 contract.
ownerYes58-character AVM account address.
amountYesAmount in base units (string) to avoid JS safe integer limits.
networkYesAlgorand or Voi mainnet identifier.
spenderYes
Behavior2/5

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

With no annotations provided, the description carries the full burden of disclosing behavioral traits. It says 'simulate' and 'owner signs,' but does not clarify whether it is a read-only operation, what the output is (e.g., signed transaction), or any side effects. This is insufficient for a transaction tool.

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?

The description is a single clear sentence, front-loaded with the action and resource. Every word earns its place, with no filler or redundancy.

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?

For a 5-parameter transaction simulation tool with no output schema or annotations, the description is too sparse. It does not explain what the tool returns (e.g., signed transaction object), any network-specific implications, or prerequisites beyond what the schema already covers.

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?

The input schema already provides descriptions for all 5 parameters with high coverage (80%+). The description adds minimal semantics by indicating the owner signs and clarifying the approve(spender, amount) relationship, but it does not significantly enhance the schema information.

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?

The description clearly states it simulates the ARC-200 approve operation with spender and amount, and that the owner signs. This specifies the action, resource, and signature requirement, distinguishing it from sibling tools like arc200_transfer_txn and arc200_transfer_from_txn.

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 guidance on when to use this tool versus alternatives. The term 'simulate' implies it is for testing or offline transaction construction, but no exclusions or preferred scenarios are provided.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/NautilusOSS/AssetMCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server