Skip to main content
Glama

Beggar Bot

eip712_hash

EIP-712 typed-data hasher: domain separator, struct hash and final signing digest for any typed data (permit, Permit2, EIP-3009, orders), plus warnings for unlimited amounts and far deadlines. Verify 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": "eip712_hash"
  }
}

Input Schema

NameRequiredDescriptionDefault
typed_dataNoEIP-712 JSON {types, primaryType, domain, message}

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 full burden. It does disclose valuable behavior beyond the obvious: it emits warnings for unlimited amounts and far deadlines, and it notes a $0.02 USDC x402 cost. The garbled fragment "Verify Paid: $0.02 USDC via x402" is ambiguous about whether verification happens or payment must be attached, and there is no statement on error handling for malformed typed data.

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?

The core sentence is dense and front-loaded with outputs and use cases, with no filler. The trailing payment note is a fragmented pseudo-sentence that reads awkwardly and slightly undercuts clarity.

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 single-parameter hashing tool with no output schema, the description adequately names the return artifacts (domain separator, struct hash, digest) and the warning outputs. Gaps remain around required-ness of typed_data and error behavior, and the cost sentence is too garbled to be fully actionable.

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 100% and the single parameter's format is fully described in the schema, so the baseline is 3. The description adds marginal value by naming supported payload families (permit, Permit2, EIP-3009, orders) and the expected JSON shape inference, but gives no syntax detail beyond the schema.

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 ("EIP-712 typed-data hasher") and enumerates exactly what it produces: domain separator, struct hash, and final signing digest. It implies differentiation from the sibling eip712_domain_lookup by covering the full digest, but never names it, so an agent must infer the boundary.

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 parenthetical ("permit, Permit2, EIP-3009, orders") gives concrete situations where the tool applies, which is useful implied guidance. However, there is no explicit when-not, no mention of the sibling eip712_domain_lookup as a lighter alternative, and no indication of what happens when typed_data is omitted even though the schema marks it optional.

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.