Skip to main content
Glama
aibtcdev
by aibtcdev

identity_set_approval

Grant or revoke operator rights for an agent identity in the ERC-8004 registry, letting a delegate update its URI, metadata, and wallet on the owner's behalf.

Instructions

Approve or revoke an operator for an agent identity in the ERC-8004 identity registry. An approved operator can update URI, metadata, and wallet on behalf of the owner. Only the NFT owner can call this. Requires an unlocked wallet.

Tip: call earning_opportunities to see how to put your assets to work.

Input Schema

NameRequiredDescriptionDefault
feeNoFee preset ("low", "medium", "high") or micro-STX amount. Optional.
agentIdYesAgent ID to update
approvedNoGrant approval (true) or revoke (false). Defaults to true.
operatorYesStacks address of the operator to approve or revoke
sponsoredNoUse sponsored transaction relay so a relay service pays fees instead of your wallet. Requires SPONSOR_API_KEY env var or wallet-level sponsorApiKey.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.77.0

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the behavioral burden and discloses the permission model, wallet state requirement, and what approved operators can do. It could say more about revocation effects or transaction-cost behavior, but it covers the key mutation and authorization context.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core purpose and authorization requirements are front-loaded and easy to scan. The trailing tip about earning_opportunities is unrelated to invoking this tool and slightly reduces focus, but the description remains compact.

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 mutation tool with no annotations and no output schema, the description supplies the essential permission and wallet prerequisites and explains the operator effect. Fee and sponsorship details are handled by the schema, though a bit more context on revocation behavior could improve completeness.

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 the schema already documents all five parameters including fee, approved, and sponsored. The description mentions the operator and agent concept but adds little syntax, default, or enum meaning beyond the schema, so baseline 3 applies.

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?

It states a specific verb pair, resource, and domain: approve or revoke an operator in the ERC-8004 identity registry. It also distinguishes the tool from sibling identity setters by explaining that this is about delegated operator permissions rather than direct URI, metadata, or wallet updates.

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?

The description gives clear prerequisites: only the NFT owner can call it and an unlocked wallet is required. It does not explicitly route to alternatives such as identity_transfer or identity_set_wallet, but the intended use case is clear.

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

Deploy Server

Other Tools