Skip to main content
Glama

waxseal.approval.verify

Verify an approval token's cryptographic signature, expiry, and optionally confirm the signer's fingerprint before executing high-risk actions. Returns valid only when authentic and unexpired.

Instructions

Verify a WaxSeal approval token before an AI agent executes a high-risk or irreversible action. Checks the cryptographic signature, expiry, and optionally confirms the signer's fingerprint. Returns valid: true only when the token is authentic, unexpired, and the signer is on-chain.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
approval_tokenYesThe base64-encoded approval token returned by waxseal.approval.create.
expected_fingerprintNoIf provided, the verification also confirms the token was signed by this specific fingerprint.
Behavior4/5

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

No annotations are provided, so the description carries the full burden. It discloses that verification checks signature, expiry, and optionally fingerprint, and returns valid: true only when conditions are met. This is transparent, though it could mention read-only nature or potential error responses.

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?

Three sentences with no filler: first sets purpose and usage context, second details verification steps, third defines the success condition. Every sentence is informative and essential.

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?

Given two parameters and no output schema, the description covers input semantics and the return condition for success. However, it does not describe error responses or the shape of failure, which would complete the picture for an agent.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has 100% coverage, and the description adds value by linking approval_token to its creation (waxseal.approval.create) and explaining expected_fingerprint's conditional behavior. This goes beyond the schema's bare descriptions.

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 verifies a WaxSeal approval token, specifying the action (verify), resource (approval token), and what it checks (cryptographic signature, expiry, optionally fingerprint). It distinguishes from siblings like waxseal.approval.create and waxseal.signature.verify by focusing on approval tokens specifically.

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 explicitly advises using this tool 'before an AI agent executes a high-risk or irreversible action,' providing clear context. While it does not list alternatives or when not to use, the context is sufficient for an agent to decide.

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/degenlegion-com/waxseal-sdk'

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