Skip to main content
Glama

Beggar Bot

userop_hash

ERC-4337 userOpHash for EntryPoint v0.6/v0.7 (packed or unpacked fields) plus live nonce status. 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": "userop_hash"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainNobase
useropNoJSON userop or flat fields
versionNo0.6|0.7

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/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 two real behavioral traits: the tool is metered ($0.02 USDC via x402) and it returns live nonce status alongside the hash. It says nothing about whether the nonce lookup requires network access, what happens if the userop is malformed or the version is omitted, or whether the hash is deterministic/offline.

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 sentences, front-loaded with the capability and followed by the payment term; no filler. The parenthetical is dense but does real work.

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

Completeness3/5

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

For a three-parameter, all-optional tool with no output schema and no annotations, the definition covers what the tool produces conceptually but leaves the response shape (hash format, nonce fields) and default behavior when chain/version are omitted unexplained. Adequate, but not complete for an agent invoking it blind.

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 the baseline is 3, and the description adds genuine meaning by clarifying that the userop field accepts either packed or unpacked representations and that the hash is version-dependent. Nuance like that is not recoverable from the terse 'JSON userop or flat fields' schema text alone.

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?

It names a specific artifact (ERC-4337 userOpHash) plus the exact protocol scope (EntryPoint v0.6/v0.7) and a secondary capability (live nonce status), which is clearly distinct from siblings like eip712_hash or aa_userop_activity. It does not explicitly contrast itself against those siblings, so it falls short of a 5.

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 statement of when to call this versus alternatives such as aa_userop_activity or eip712_hash, and no prerequisites are given. The only contextual hint is the version token '0.6|0.7', which is already present in the schema.

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.