Skip to main content
Glama

Smart-account: approve NFT

fuse_smart_approve_nft

Submits an ERC-4337 UserOperation calling approve(spender, tokenId) on an NFT contract from the configured smart wallet.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
spenderYesAddress being granted approval for the token ID.
tokenIdYesNFT token ID (decimal or hex).
nftContractAddressYesERC-721 / ERC-1155 contract address.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

No annotations are present, so the description must fully disclose behavior. It mentions 'submits a UserOperation' and 'from the configured smart wallet', implying gas costs and wallet setup. However, it does not detail side effects (state change), error cases, or the need for wallet deployment.

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?

A single, focused sentence of 20 words. No redundant or unnecessary information. Every word contributes to understanding the tool's core action.

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 approval tool, the description covers the action and context well. It is missing information about return values (no output schema) and post-submission steps like checking transaction receipts or handling approvals in subsequent operations.

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 coverage is 100% with parameter descriptions. The tool description adds value by specifying the underlying function signature 'approve(spender, tokenId)' and the NFT contract context, which helps understand the role of nftContractAddress beyond schema definitions.

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 the tool submits an ERC-4337 UserOperation calling 'approve' on an NFT contract from a smart wallet. It uses specific verbs and resources, distinguishing it from siblings like fuse_smart_approve_token (for ERC20) and fuse_smart_transfer_nft (for transfers).

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?

No guidance on when to use this tool versus alternatives such as fuse_smart_approve_token or fuse_smart_approve_and_call. The description does not mention prerequisites, success criteria, or when not to use it.

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