Skip to main content
Glama

Beggar Bot

signature_lookup

Function selector and event topic lookup: resolve up to 30 4-byte selectors / 32-byte topics to human-readable signatures with candidates and collision flags. Decode unknown calldata and logs. opencha Paid: $0.02 USDC via x402.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "signature_lookup"
  }
}

Input Schema

NameRequiredDescriptionDefault
eventsNocomma list of 0x event topics
selectorsNocomma list of 0x 4-byte selectors

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does disclose meaningful behavior: batch caps (30 selectors, 32-byte topics), that results include candidates and collision flags, and that the call costs $0.02 USDC via x402. What it omits is failure/unresolved behavior (what happens when a selector has no match) and whether results are cached or rate limited.

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?

Three short sentences, front-loaded with purpose, then capability, then payment — no wasted words. The leading 'Function selector and event topic lookup:' is close to restating the tool name, which is the only redundancy.

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?

There is no output schema, and the description compensates by naming the return shape (human-readable signatures with candidates and collision flags). It also surfaces the non-obvious paid/x402 requirement, which an agent must know before invoking. Only ambiguity/error handling is unaddressed, a minor gap for a two-optional-parameter lookup tool.

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 a 3 is the baseline; the description earns a bump by adding a constraint not present in the schema — the 'up to 30' batch limit — and by clarifying the input semantics as hex 0x selectors/topics versus 32-byte event topics. Format details like 'comma list' are already in the schema, so the gain is modest.

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 verb+resource pair ('resolve ... 4-byte selectors / 32-byte topics to human-readable signatures') and scopes it with batch limits and collision flags, which distinguishes it from signature_format, signature_recover and abi_decode. The trailing 'Decode unknown calldata and logs' slightly blurs the scope, since the schema only accepts selector/topic strings and no calldata or log payload parameter exists.

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 implied by the phrasing 'unknown calldata and logs' and by the resolve-selectors framing, so an agent can infer this is the reverse-lookup tool. However, no explicit when-to-use or when-not-to-use conditions are given, and no sibling (e.g. abi_decode, which likely handles full calldata decoding) is named as the alternative.

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.