Skip to main content
Glama
KaiSign MCP Server

KaiSign MCP Server

Official
by Kai-Sign

get_clear_sign_prompt

Generate a clear signing prompt that verifies the contract, decodes transaction intent, and formats transaction details for user confirmation before signing.

Instructions

Get a clear signing prompt for user confirmation. Prefer clear_sign_payload — it returns this prompt plus payload normalization and signing policy; this tool is a subset for direct {to,data} input.

This tool provides a formatted display for transaction signing flows:

  1. Takes a transaction payload (to, data, value, chainId)

  2. Verifies the contract against KaiSign on-chain registry

  3. Decodes the transaction intent

  4. Returns formatted display text for user confirmation

Use this when presenting transactions to users for signing. The response includes:

  • displayText: Formatted text ready for display (includes verification badge, intent, warnings)

  • verified: Whether the contract has on-chain verified metadata

  • verificationBadge: "✓ Verified", "⚠ Local Metadata", or "⚠ Unverified"

  • intent: Human-readable description of transaction

  • functionName: The function being called

  • warnings: Any concerns about the transaction

  • transaction: The original transaction payload for signing

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": {
      "to": "<to>",
      "data": "<data>"
    },
    "name": "get_clear_sign_prompt"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYesTarget contract address (0x...)
dataYesTransaction calldata (0x...)
valueNoTransaction value in wei (default: "0")0
chainIdNoChain ID (default: 8453 for Base)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.3/5.0
Behavior4/5

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

No annotations exist, so the description carries the full burden, and it does disclose real behavior: an on-chain registry lookup against KaiSign, intent decoding, and a warning surface. It does not state latency/network dependency or failure behavior when the contract is unverified, but the verification-badge vocabulary gives the agent a clear picture of output trust levels.

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 routing information is front-loaded in the first sentence, which is the highest-value content. The numbered pipeline and the return-field list are somewhat verbose and partly redundant with each other, but each block is scannable and nothing is truly wasted.

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?

There is no output schema, so enumerating displayText, verified, verificationBadge, intent, functionName, and warnings is genuinely necessary and done well. The remaining gap is operational: nothing about error handling or what happens when the registry lookup fails, which matters for a verification-dependent tool.

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%, so all four parameters (to, data, value, chainId) including defaults are already documented in the schema. The description only restates the parameter list in step 1 and adds no format, encoding, or edge-case meaning beyond it.

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 opens with a specific verb+resource ("Get a clear signing prompt for user confirmation") and immediately positions the tool relative to its sibling: it is a subset of clear_sign_payload for direct {to,data} input. An agent can distinguish the two without opening either schema.

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?

It explicitly names the preferred alternative (clear_sign_payload), explains why it is preferred (payload normalization plus signing policy), and states the condition under which this tool applies (direct {to,data} input, presenting transactions to users for signing). The when-to-use and when-not-to-use are both present.

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