Skip to main content
Glama

AgentGuard DeFi Pre-Trade Firewall (Base & Solana)

wallet_approvals_audit

PAID ($0.020 USDC via x402). Full wallet security audit + unlimited ERC-20 DEX allowance scan across Uniswap Permit2, Universal Router, Aerodrome, 1inch & 0x (Base) or SPL delegates (Solana).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "chain": "<chain>",
      "walletAddress": "<walletAddress>"
    },
    "name": "wallet_approvals_audit"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainYesTarget blockchain network: 'base' or 'solana'
walletAddressYesWallet address to audit for unlimited spender approvals

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose one genuinely important behavioral trait: the tool is paid ($0.020 USDC via x402), which an agent must know before calling. It also discloses scan scope (unlimited approvals only, specific protocols, chain-dependent behavior). It does not confirm read-only semantics, describe the result shape, or mention limits/failure modes.

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?

A single dense sentence with the cost front-loaded ahead of the capability, so the agent sees the payment obligation immediately. No filler, though the parenthetical protocol/chain list is long and 'Full wallet security audit' sits uneasily beside a scan that is described only in allowance terms.

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?

Payment model, chain coverage, and data sources are covered, which is substantial for a two-parameter tool. However, with no annotations and no output schema, the description should say more about what the audit returns and what 'full security audit' actually includes beyond unlimited allowance detection.

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%, so the baseline is 3, but the description adds real meaning to the chain enum by explaining that 'base' yields ERC-20 DEX allowance scans while 'solana' yields SPL delegate scans. That is a semantic distinction the schema's one-line enum descriptions do not convey.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb and resource ('Full wallet security audit + unlimited ERC-20 DEX allowance scan') and scopes it to named protocols (Uniswap Permit2, Universal Router, Aerodrome, 1inch, 0x) and chains. An agent can tell this is an approvals/allowance audit rather than a general wallet profile or pre-trade check, though it never explicitly contrasts itself with siblings like deep_pretrade_audit.

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?

Usage is only implied: the 'unlimited allowance' framing tells the agent this is for spotting unlimited spender approvals on a given wallet. There is no explicit when-to-use, when-not-to-use, prerequisite, or named alternative (e.g. quick_wallet_ping for a cheap first pass), leaving routing to inference.

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.