Skip to main content
Glama

arc72_approve_txn

Produce an unsigned ARC-72 approve transaction that grants an operator control over a specific token. Input network, application ID, token owner, approved operator, and token ID.

Instructions

Simulate ARC-72 approve(approved, tokenId); owner signs.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
appIdYesApplication ID of the ARC-200 or ARC-72 contract.
ownerYes58-character AVM account address.
networkYesAlgorand or Voi mainnet identifier.
tokenIdYesARC-72 token id as decimal string (may exceed Number.MAX_SAFE_INTEGER).
approvedYesSpender / operator to approve for this token.
Behavior3/5

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

The word 'Simulate' discloses that the tool does not execute a real transaction, and 'owner signs' indicates a required signer. However, with no annotations, remaining behavioral traits are unclear: what is returned (simulation result?), whether any state is changed, and if network specifics or prerequisites exist. The description adds some value but leaves significant gaps.

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 compact sentence, front-loaded with the action and key parameters. Every word earns its place with no redundancy or filler.

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?

While the schema is rich, the description fails to explain what the tool returns (no output schema), how it differs from arc72_set_approval_for_all_txn, and what 'simulate' means concretely in terms of execution. For a transaction-related tool with no annotations, this is insufficient context for an agent to confidently select and invoke it correctly.

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 coverage is 100%, so all parameters are already fully described. The description repeats 'approved' and 'tokenId' from the function signature but adds no new semantic detail beyond the schema. Baseline of 3 is appropriate.

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 states a specific verb 'Simulate' and a specific resource 'ARC-72 approve(approved, tokenId)', making it clear this simulates a single-token approval. It naturally distinguishes from siblings like arc72_set_approval_for_all_txn (which approves for all tokens) and arc72_transfer_txn (which transfers ownership).

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 description implies usage for single-token approval but doesn't explicitly contrast with alternatives like set_approval_for_all. No when-to-use or when-not-to-use guidance is provided, but the function signature in the description strongly suggests the intended scenario.

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