Skip to main content
Glama

Beggar Bot

message_hash

EIP-191 personal_sign hash, keccak256 and version-0 hash for a message or hex — what a wallet actually signs. 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": "message_hash"
  }
}

Input Schema

NameRequiredDescriptionDefault
hexNoalt raw bytes
messageNoutf8 text
validatorNooptional for 0x1900

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the burden and does disclose a key behavioral trait most tools omit: it is paid ($0.02 USDC via x402). It does not state whether message and hex are mutually exclusive, what happens if both or neither are supplied, or the shape of the returned hash(es).

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 compact sentence that front-loads the operation names, then the wallet intuition, then the payment terms. Nothing is wasted, though the payment clause trailing the core purpose is slightly buried.

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 three-optional-parameter pure computation tool with no output schema and no annotations, the description covers what it computes and that it costs money. The main residual gap is the return shape and the input exclusivity rule, which an agent would need to call it correctly the first time.

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 description coverage is 100%, so the baseline is 3. The description adds marginal value by framing the inputs as 'message or hex' and tying version-0 output to the validator argument, but it never states the exclusivity rule or the default behavior when no validator is given.

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?

Names specific cryptographic operations (EIP-191 personal_sign, keccak256, version-0) and the resource (a message or hex), plus the intuition 'what a wallet actually signs'. It is clearly distinguishable from eip712_hash by standard, though it does not explicitly name that sibling for contrast.

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?

The phrase 'what a wallet actually signs' implies the use case (reproducing wallet signing digests), but there is no explicit when-to-use/when-not guidance and no routing to alternatives such as eip712_hash for typed data. Usage must be inferred.

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.