Skip to main content
Glama
Webberdoo Agent Intelligence MCP

Webberdoo Agent Intelligence MCP

Official
by webberdoocom

check_token_allowance

Inspect ERC-20 token allowances for an owner and spender on a chosen chain, including optional Permit2 data, to assess approval risk and spending permissions.

Instructions

Paid WAI token allowance intelligence ($0.02 USDC); inspect ERC-20 allowances, optionally Permit2.

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": {
      "chainId": "<chainId>",
      "ownerAddress": "<ownerAddress>",
      "tokenAddress": "<tokenAddress>",
      "spenderAddress": "<spenderAddress>"
    },
    "name": "check_token_allowance"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainIdYes
ownerAddressYes
tokenAddressYes
includePermit2No
spenderAddressYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/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; it does disclose the most important behavioral trait — this is a paid call costing $0.02 USDC — and implies a read-only inspection. It does not disclose what the response contains (allowance amount, Permit2 vs ERC-20 split), payment failure behavior, or rate/chain limitations.

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 front-loaded sentence with no filler; the price and the core action both appear immediately. It is compact, though its brevity is partly the source of the missing semantics rather than deliberate economy.

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 5-parameter, zero-schema-coverage tool with no annotations and no output schema, the description is too thin: it leaves chainId semantics, return shape, and payment/error behavior undocumented. An agent can guess the intent but cannot confidently predict inputs or outputs.

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

Parameters2/5

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

Schema description coverage is 0% across 5 parameters, so the description must compensate. It only hints at the address parameters through 'ERC-20 allowances' and at includePermit2 through 'optionally Permit2'; chainId is never explained, and no parameter is clarified beyond what the schema's types and patterns already show.

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 ('inspect ERC-20 allowances') plus a scope qualifier ('optionally Permit2'), which is far more precise than the tool name alone. Siblings (contract/company inspection) are unrelated domains, so no sibling differentiation is required, but it also isn't provided.

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 or when-not-to-use guidance and no stated prerequisites (e.g. that an RPC-supported chain is needed, or that this is a read-only lookup versus an approval check). The only situational hint is the price tag, which tells the agent it costs money but not when it is the right tool.

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