Skip to main content
Glama

agent_wallet_audit

Read-onlyIdempotent

Every way this wallet can be drained without a fresh signature — The complete fund-movement authority on a Base wallet in one call: ERC-20 approvals (a spender you approved can pull the token) PLUS Base Account spend permissions (the agent-era scoped recurring allowance) — one drain-surface verdict with the ERC-20 revoke queue to act on. Approval tools miss the spend permissions; spend-permission tools miss the approvals. The only combined check for agent wallets that must know their whole exposure before holding funds. Required input: wallet. Priced $0.06 per call over x402 on Base; send a prepaid x-credit-token header for unlimited calls (no free tier on this tool). No API key required.

Input Schema

NameRequiredDescriptionDefault
walletYesWallet address

Output Schema

NameRequiredDescriptionDefault
dataNoThe result payload. Shape is service-specific; every field is documented in the tool description.
serviceNoThe service id that answered.
checkedAtNoISO-8601 timestamp of when the underlying reads were taken.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / properties / data / description
      Previous value: -"The result payload. Shape is service-specific; every field is documented in the service description above."New value: +"The result payload. Shape is service-specific; every field is documented in the tool description."
  2. Changed1 schema field changed
    • removedOutput schema / required
      Removed value: -[
      -  "data"
      -]
  3. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered. The description adds high-value invocation context the annotations cannot: paid x402 model, $0.06 per call, prepaid x-credit-token header for unlimited calls, no free tier, no API key. This directly affects how an agent should budget and authenticate calls.

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?

Front-loaded with purpose and differentiator before the operational details, and the pricing/auth sentence earns its length. Some promotional adjectives ('the agent-era scoped recurring allowance', 'the only combined check') add flavor at the cost of density, keeping it short of a 5 for a one-parameter tool.

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?

Output schema exists, so the verdict payload and revoke queue needn't be described, and annotations cover the read-only profile. Purpose, cost, auth, and required input are all present; only minor edges like chain restrictions or response latency are unaddressed.

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?

With a single parameter at 100% schema description coverage, the schema fully documents 'wallet'. The description only restates 'Required input: wallet' and adds no format detail (e.g., checksummed address expectations, supported chains). Baseline 3 is appropriate since the schema carries the semantics.

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?

States a specific verb and resource — the combined fund-movement authority on a Base wallet — and enumerates exactly the two surfaces scanned (ERC-20 approvals plus Base Account spend permissions). It explicitly distinguishes itself from sibling categories: 'Approval tools miss the spend permissions; spend-permission tools miss the approvals.' An agent can differentiate it from token_approvals, spend_audit, and revoke_builder without opening a schema.

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?

Gives clear context for use — 'agent wallets that must know their whole exposure before holding funds' — and contrasts against alternative approaches by category. It stops short of naming specific sibling tools (spend_audit, token_approvals, revoke_builder) or stating an explicit when-not-to-use condition, so it is strong but not exhaustive.

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