Skip to main content
Glama

mechacut

eth_eip712

EIP-712 typed-data digest: domainSeparator, struct hash and the 0x1901 final digest, verified against the spec's published Mail example. Free.

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": {
      "types": "<types>",
      "primaryType": "<primaryType>",
      "domain": "<domain>",
      "message": "<message>"
    },
    "name": "eth_eip712"
  }
}

Input Schema

NameRequiredDescriptionDefault
typesYes
domainYes
messageYes
primaryTypeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden; it does disclose the returned artefacts (domainSeparator, struct hash, 0x1901 digest) and notes the implementation is checked against the spec's canonical Mail example, which signals determinism, and 'Free' signals no cost. It never states that the operation is pure/non-mutating, what happens when types and primaryType disagree, or whether verification failures are surfaced as errors.

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 dense sentence with the meaningful content (outputs, verification status) front-loaded and no filler sentences. 'Free' is a legitimate cost signal for an agent, though the 'verified against the spec's published Mail example' clause is terse enough to be ambiguous about what is actually verified.

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

Completeness2/5

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

For a tool taking four required, deeply nested objects with zero schema documentation and no output schema, the description does too little: it names the outputs but leaves the entire input contract, ordering/dependency between primaryType and types, and any failure modes unexplained. An agent could not construct a valid call from this text alone.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and all four parameters (types, primaryType, domain, message) are undocumented nested objects. The description implies the EIP-712 shape through terms like 'domainSeparator' and 'struct hash', but it never maps those terms to the parameters, never says primaryType must name a key in types, and never describes the required struct-type encoding of the types object.

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?

The description names a specific standard (EIP-712), a specific computation ('typed-data digest'), and enumerates the three artefacts returned: domainSeparator, struct hash, and the 0x1901 final digest. That is far more than a restatement of the name. It stops short of 5 because it never contrasts itself with the crypto siblings (eth_abi_encode, eth_selector) or states the verb explicitly (compute/derive).

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 when-to-use or when-not-to-use guidance, no mention of prerequisites (a correctly formed types map and matching primaryType), and no routing to alternatives such as eth_abi_encode for non-typed-data hashing. The only contextual clue is 'verified against the spec's published Mail example', which hints at a test vector but not at usage conditions.

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.