Skip to main content
Glama
CryptoAPIs-io

@cryptoapis-io/mcp-signer

Official

evm_sign

Sign EVM transactions or EIP-712 typed-data messages. Supports unsigned hex, building from fields, and signing typed data for x402 GASLESS flows.

Instructions

Sign an EVM transaction or EIP-712 typed-data message. Three actions: (1) sign-unsigned-hex: sign pre-built unsigned tx hex; (2) sign-from-details: build and sign from fields (blockchain, network, toAddress, value, gas, fee, etc.); (3) sign-typed-data: sign an EIP-712 typed-data message — the x402 GASLESS path, e.g. the EIP-3009 TransferWithAuthorization returned by the x402 buyer /authorize (scheme eip712). For (3) pass domain/types/primaryType/message verbatim; it returns a 65-byte signature (no tx built). Network names (e.g. ethereum+sepolia, polygon+mainnet) are mapped to chainId internally. Private key is always passed as parameter (never from env). SECURITY: Private keys may be logged by MCP clients or stored in conversation history — use only in trusted local environments.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

With no annotations, the description carries the full burden. It discloses private key handling, security risks (MCP logging/conversation history), network-to-chainId mapping, and the return signature format for typed-data. It does not fully specify the returned value for transaction-signing modes, but the security and mode behaviors are well covered.

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 description is longer than typical but every sentence adds useful operational or security context. It front-loads the purpose and enumerates the three actions clearly. The security warning is essential given the sensitive nature of the tool, so length is justified.

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 complex, security-sensitive EVM signing tool with multiple modes and no output schema, the description covers most key aspects: actions, relevant parameters, network mapping, security caveats, and the typed-data signature return. It omits explicit return value details for broadcast/transaction-signing modes, but overall it is sufficiently complete for an agent to select and call the tool correctly.

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?

The input schema is empty, so the description must compensate—and it does. It names key parameters (blockchain, network, toAddress, value, gas, fee, domain/types/primaryType/message) and explains network mapping and the private-key parameter convention. It does not provide a full parameter spec, but it gives enough semantic guidance for invocation.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description starts with a specific verb+resource: "Sign an EVM transaction or EIP-712 typed-data message." It clearly differentiates from sibling tools (utxo_sign, tron_sign, etc.) by scoping to EVM chains, and further distinguishes three internal operation modes.

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?

The description provides clear usage context for each of the three modes, including the x402 GASLESS path and how to pass EIP-712 fields verbatim. It does not explicitly compare against sibling tools, but the EVM scope and mode-specific instructions offer strong practical guidance.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/CryptoAPIs-io/cryptoapis-mcp-signer'

If you have feedback or need assistance with the MCP directory API, please join our Discord server