Skip to main content
Glama

AI Agent Tokenized Stock OS

stocktoken_permit2_prepare

Prepare Permit2 approve + optional typed data for Uniswap-style flows on chain 4663.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tokenYesToken symbol or address to approve via Permit2
permitDataNoOptional Uniswap quote.permitData to normalize for signing

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior2/5

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

No annotations exist, so description bears full burden. It only states what the tool prepares ('approve + typed data') but does not disclose whether it mutates on-chain state, requires signing, or what the output is. Essential behavioral details are missing for a tool that likely involves off-chain preparation.

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?

Single sentence of 15 words with clear verb-first structure. No extraneous words, front-loads 'Prepare Permit2 approve', and immediately scopes to chain 4663 and Uniswap-style flows.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With 2 parameters and no output schema, the description adequately states purpose and parameters but omits output format, prerequisites, side effects, and chain-specific considerations. Adequate for simple preparation, but gaps exist for full agent understanding.

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% and both parameters are described. The description adds minor context ('to approve via Permit2' for token, 'to normalize for signing' for permitData) but does not significantly exceed the schema's own descriptions. Baseline 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?

Description uses specific verb 'prepare' and clearly identifies the resource 'Permit2 approve + optional typed data' for 'Uniswap-style flows on chain 4663'. It stands out among siblings by focusing on a distinct action (Permit2 preparation) not covered by other tools.

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?

Implies usage for Uniswap-style flows and Permit2 approvals, but lacks explicit when-to-use guidance, exclusions, or references to alternatives (e.g., compare to stocktoken_access_activate). An agent must infer context from the purpose alone.

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