Skip to main content
Glama
Splits MCP Server

Splits MCP Server

Official

accounts_sign-message

Signs messages as an ERC-1271 smart account with a saved local EOA to authorize x402/MPP payments and WalletConnect or Splits Connect requests; supports plain, hex, and EIP-712 typed data.

Instructions

Sign a message as the smart account (ERC-1271) with a local EOA saved by splits auth create-key or splits auth import-key. This can authorize compatible x402 or MPP payments as well as WalletConnect and Splits Connect requests; the payment method must accept ERC-1271 and package the signature. Pass exactly one of --message (plain text, personal_sign), --hex (raw bytes, personal_sign) or --typed-data (EIP-712 JSON), plus --chain-id. Creates the message, signs its signingHash, and returns the smart account signature once signatureCount reaches threshold. On a multisig the result has signature null; other signers add theirs with --id.

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": {
      "address": "<address>"
    },
    "name": "accounts_sign-message"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoSign an existing message instead of creating one
hexNo0x-prefixed bytes to sign with personal_sign
keyNoAddress of the local key to sign with. Required when several local keys are saved.
nameNoLabel shown in the web app
addressYesAccount address (0x...) that signs the message
chainIdNoChain id the signature is valid on. Required unless --id is set.
messageNoPlain text to sign with personal_sign
typedDataNoEIP-712 typed data as JSON (domain, types, primaryType, message)
workspaceNoWorkspace alias to run this command in (see `splits auth workspaces`). Overrides SPLITS_WORKSPACE and the active workspace.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does substantial work: it discloses that the call creates a message record, signs its signingHash, only returns a usable smart account signature once signatureCount reaches threshold, and returns null on a multisig pending other signers using --id. Irreversibility of a signature and any failure/expiry cases are not mentioned.

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?

Front-loaded with the action, then requirements, then mutation/return semantics — a logical order with dense, low-waste sentences. It is on the long side for a tool description, though nearly every clause carries non-obvious information.

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 9-parameter mutation tool with no annotations and no output schema, the description covers the input mutex rules, the key prerequisite, and the shape of the result including the multisig null case. It does not describe the returned object beyond the signature field or note error conditions, which keeps it short of full completeness.

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, but the description adds real meaning the schema cannot express: exactly-one-of --message/--hex/--typed-data, --chain-id as a companion requirement, and --id as the path for appending a signature to an existing message rather than creating one.

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?

Opens with a specific verb+resource ('Sign a message as the smart account (ERC-1271)') and pins down the mechanism (local EOA key created/imported via the auth commands). It implicitly separates itself from transactions_sign by scoping to messages, but never names or contrasts that sibling, so differentiation is left to inference.

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?

Gives concrete use contexts (x402/MPP payments, WalletConnect, Splits Connect) and an explicit precondition that the counterparty must accept ERC-1271 and package the signature. It also covers the key-setup prerequisite. It stops short of stating when a caller should prefer transactions_sign or a plain EOA signature instead.

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

Deploy Server

Other Tools