Skip to main content
Glama
KaiSign MCP Server

KaiSign MCP Server

Official
by Kai-Sign

put_payload_chunk

Stages large transaction payloads or calldata in smaller chunks so a subsequent clear-signing call can use the completed payload reference when proxy or gateway limits block a full call.

Instructions

Auxiliary to clear_sign_payload: stage a large transaction payload or calldata in small chunks, then call clear_sign_payload with payloadRef or dataRef.

Use when a single MCP call with full calldata is too large for the MCP proxy/gateway. Send chunks under the client/proxy limit; after complete=true, call:

  • clear_sign_payload({ payloadRef, compact: true }) for full transaction JSON/raw tx chunks

  • clear_sign_payload({ to, dataRef: payloadRef, chainId, value, compact: true }) for calldata-only chunks

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": {
      "chunk": "<chunk>"
    },
    "name": "put_payload_chunk"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNojson for transaction JSON/raw tx payloadRef; text for calldata dataRef
chunkYesChunk text: JSON fragment, raw tx hex fragment, or calldata hex fragment
indexNoZero-based chunk index; default 0
payloadIdNoOptional id from the first chunk; omit on the first chunk to create one
payloadRefNoAlias for payloadId/ref returned by a previous chunk
ttlSecondsNoHow long to keep the staged payload; default 900 seconds
totalChunksNoTotal number of chunks

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.5/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 mostly succeeds: it discloses that state is staged (not immediately consumed), that the first chunk creates the ref and later chunks must pass it, and that the staged payload is temporary. The main gap is the reference to 'complete=true', which is not a schema parameter — completion must actually be signaled via index/totalChunks, so this phrasing could mislead an agent into inventing a parameter. Error behavior (out-of-order or expired chunks) is also unstated.

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 one-sentence purpose, then a compact follow-up block with two bulleted call shapes — efficient for a multi-parameter tool. The 'after complete=true' clause is the one piece that does not earn its place, since it points at a nonexistent parameter.

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 7-parameter, no-annotation, no-output-schema tool this covers the essentials: the triggering condition, the ref handoff, and both consumer variants. Remaining omissions — chunk ordering/validation rules, expiry failure behavior, and whether the reference survives an intermediate error — are modest but real for a staging primitive whose correctness depends on sequencing.

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 semantic linkage the schema does not: which mode maps to payloadRef (transaction JSON/raw tx) versus dataRef (calldata-only), and how the ref is fed back into clear_sign_payload. Only a slight penalty for the 'complete' wording, which does not correspond to any documented 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?

States a specific verb and resource ('stage a large transaction payload or calldata in small chunks') and frames itself explicitly as auxiliary to the named sibling clear_sign_payload. An agent can immediately tell this is the chunking/staging half of a two-step flow rather than the signing tool itself.

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

Usage Guidelines5/5

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

Gives an explicit trigger ('when a single MCP call with full calldata is too large for the MCP proxy/gateway') and then names the exact follow-up alternatives, distinguishing json-payload use (payloadRef) from calldata-only use (dataRef) with concrete argument shapes. The condition that selects each path is spelled out, not inferred.

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