Skip to main content
Glama

Leash

Check token approvals

elysium_check_approvals
Read-onlyIdempotent

Finds ERC-20 allowances an owner has granted (explorer Approval logs), reads each CURRENT allowance via Multicall3 and returns the non-zero ones with spender label, contract/verification status, unlimited flag and risk notes. Revoke with elysium_prepare_revoke (coming soon) or elysium_prepare_approve amount 0. Chains: elysium (default), hyperevm, robinhood.

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": {
      "owner": "<owner>"
    },
    "name": "elysium_check_approvals"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainNoelysium (default), hyperevm or robinhoodelysium
ownerYes
tokenNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/openWorld, but the description adds substantive behavior they cannot carry: the two data sources used, the fact that allowances are re-read live via Multicall3 rather than taken from logs, and that only non-zero results are returned. It also enumerates the returned fields (spender label, contract/verification status, unlimited flag, risk notes), which matters because there is no output schema.

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-loads the purpose, then returns, then remediation, then supported chains in a single dense paragraph with no filler sentences. The '(coming soon)' caveat on elysium_prepare_revoke is slightly noisy but prevents a failed call, so it earns its place; the run-on sentence structure is the only minor weakness.

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?

For a read-only, three-parameter tool with no output schema, the description covers what is scanned, what is returned, and how to act on results. Gaps are minor: no statement of behavior when no approvals exist, and no explanation of the 'token' filter — the latter overlapping with the parameter gap.

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 only 33%, so the description needs to compensate. It fully documents the chain parameter by restating and expanding the enum with a default, but the 'token' parameter is left unexplained — an agent must guess whether it scopes the scan to a single token contract or is an output filter. That is one documented parameter out of the two that actually need meaning.

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 ('Finds ERC-20 allowances an owner has granted') plus the exact mechanism (explorer Approval logs, current allowance via Multicall3), and names the sibling tools used for the opposite action (elysium_prepare_revoke, elysium_prepare_approve with amount 0). An agent can distinguish this read-only discovery tool from the preparation siblings 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?

Makes the use case clear (audit what an owner has approved) and routes the remediation step to elysium_prepare_revoke / elysium_prepare_approve amount 0, which is real guidance about what to do next. It does not state exclusions, e.g. whether leash_risk_check should be used instead when risk scoring is the goal, so it falls short of a full when/when-not pair.

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