Skip to main content
Glama

Sign EIP-712 typed data

sign_typed_data
Destructive

Sign an EIP-712 message such as an order or permit using the agent wallet, with each request checked against the owner's policy before signing.

Instructions

Sign an EIP-712 message (orders, permits) with the agent wallet. Permits that let someone spend the wallet's tokens are checked like approvals. Every transaction is checked by Holdfast against the owner's policy before it is signed. If a request is blocked, do not retry it in a different form or split it up; tell the user what was blocked and why.

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": {
      "typedData": "<typedData>"
    },
    "name": "sign_typed_data"
  }
}

Input Schema

NameRequiredDescriptionDefault
typedDataYesThe full EIP-712 payload: types, primaryType, domain, message

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.10.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true, openWorldHint=true and non-idempotent, so the safety profile is partly covered. The description adds real value beyond that: every request is policy-screened by Holdfast before signing, spending permits are treated like approvals, and blocked requests must not be reworked. It does not say whether a signature is irrevocable once produced, which is the main remaining behavioral gap.

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?

Four short sentences, each doing work: purpose first, then risk model, then policy gate, then the escalation rule. Minor imprecision in 'Every transaction is checked' for a tool that signs typed data rather than transactions, but nothing is padding.

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, destructive signing tool with no output schema, the description covers what it signs, what risk class it handles, that a policy layer intervenes, and how to react to a block. An agent has enough to call it and to handle refusal correctly; the only omission is post-signing finality.

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% with a single nested typedData parameter already documented as types/primaryType/domain/message. The description adds only illustrative categories of what gets signed (orders, permits) and no syntax or format detail beyond the schema, so the baseline applies.

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 gives a specific verb and resource ('Sign an EIP-712 message') and grounds it with concrete examples ('orders, permits') plus the signing agent ('the agent wallet'). That distinguishes it clearly from send_transaction and transfer_token, though no sibling is named explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It establishes the operating context (policy checks before signing) and gives an explicit negative instruction for the blocked case: do not retry in a different form or split the request. It stops short of stating when to prefer this over a sibling call, but the do-not-retry rule is unusually concrete guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.