Skip to main content
Glama
CryptoAPIs-io

@cryptoapis-io/mcp-signer

Official

svm_sign

Partially sign a Solana x402 payment transaction locally by adding the source authority's signature to the unsigned transaction, returning the re-serialized base64 for facilitator settlement.

Instructions

Partial-sign a Solana (SVM) x402 payment transaction locally (@solana/web3.js). One action: partial-sign — deserialize the base64 UNSIGNED TransferChecked tx from the x402 buyer /authorize (scheme svm-transaction), add ONLY the source-authority (buyer) signature, and re-serialize to base64. The feePayer slot stays UNSIGNED — the facilitator signs it at settle. Returns { transaction } (base64). Secret key is base58, passed as parameter (never from env). SECURITY: 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

Behavior5/5

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

With no annotations, the description carries full burden and does so well: it states the tool is local, adds only the source-authority signature, leaves feePayer unsigned for the facilitator, returns base64, and includes a security warning about key exposure. No contradictions with annotations exist since none are provided.

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 dense but each sentence provides necessary information: what it does, how it works, return value, and security context. It is slightly long, but the content earns its place and it is front-loaded with the primary purpose.

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 simple signer with no output schema and no params, the description covers the workflow, the exact behavior (partial-sign), the return shape, and the security caveat. It lacks error-condition details, but those are not essential for a single-action tool.

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 is the only source of parameter info. It adds the secret key format (base58) and the policy that it is passed as a parameter (never from env), which is valuable. However, the transaction input itself is only implied, not explicitly named as a parameter.

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 clearly states the tool's purpose: 'Partial-sign a Solana (SVM) x402 payment transaction locally'. It uses a specific verb (partial-sign) and resource (Solana SVM x402 transaction), and it distinguishes itself from sibling chain-specific sign tools by focusing on the SVM/x402 context.

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 says exactly when to use it: when you have a base64 UNSIGNED TransferChecked tx from the x402 buyer /authorize, and explains the single action flow. It does not explicitly call out alternatives (e.g., 'use evm_sign for EVM'), but the sibling naming and chain-specific focus imply them.

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