Skip to main content
Glama
AgentGuard
by bfedorg

wallet_approvals_audit

Audit wallet risk and token approvals on Base and Solana, flagging unlimited DEX allowances and SPL delegates so you can revoke risky permissions before trading.

Instructions

PAID ($0.020 USDC via x402). Wallet risk profile and unlimited DEX allowance / SPL delegate audit.

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
chainYes
walletAddressYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

B3.1/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 a genuinely non-obvious trait: the call is paid ($0.020 USDC via x402), which affects an agent's decision to invoke it. It also scopes coverage to unlimited allowances and SPL delegates, but omits whether the operation is read-only, what a risk profile contains, and any failure or payment-failure behavior.

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?

Two short clauses, no filler, and the paid-cost caveat is front-loaded so an agent sees the price before deciding. The second clause is dense jargon ('unlimited DEX allowance / SPL delegate audit') that could be slightly clearer, but nothing is wasted.

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

Completeness2/5

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

For a paid tool with no annotations and no output schema, the description should say what the agent receives (risk profile fields, allowance findings) and what happens on payment failure. It defines the input surface implicitly and leaves the entire return contract and cost/error behavior to guesswork.

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 0%, so the description must compensate, and it partially does by tying 'DEX allowance' to EVM/Base and 'SPL delegate' to Solana, which gives meaning to the chain enum values. The walletAddress parameter and the address format/length expectation receive no explanation beyond the schema's minLength.

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?

States a specific capability: a wallet risk profile plus an audit of unlimited DEX allowances and SPL delegates. The chain-specific vocabulary ('DEX allowance' for EVM, 'SPL delegate' for Solana) makes the scope concrete, though it never names or contrasts a sibling such as quick_wallet_ping or 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 Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use sentence, no prerequisite, and no guidance on when to pick this over the other audit/profile tools in the family. An agent can vaguely infer this is for approval-risk checks, but nothing tells it whether this is the right entry point or when to escalate to deep_pretrade_audit.

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