Skip to main content
Glama
KaiSign MCP Server

KaiSign MCP Server

Official
by Kai-Sign

prepare_sponsored_reveal

Prepares an unsigned smart-account SubmissionSponsor.sponsoredReveal transaction after the sponsored commit is mined, using the commit state file and commitment ID.

Instructions

Prepare an unsigned smart-account-callable SubmissionSponsor.sponsoredReveal transaction.

Call this after the sponsored commit transaction is mined and you have its commitmentId. It uses the state file written by prepare_sponsored_commit.

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": {
      "state": "<state>",
      "commitmentId": "<commitmentId>"
    },
    "name": "prepare_sponsored_reveal"
  }
}

Input Schema

NameRequiredDescriptionDefault
stateYesSubmission state file from prepare_sponsored_commit
sponsorNoOptional SubmissionSponsor address override
keystoreNoKeyless scope manifest created by init_submission_scope.kaisign/submission-keystore.json
commitmentIdYesCommitment id emitted by the commit transaction

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It usefully discloses that the result is an unsigned smart-account-callable transaction and that it depends on state written by prepare_sponsored_commit, but it does not explain whether the tool submits anything, what exactly is returned, or how signing/submission should proceed afterward.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two tight sentences: the first defines the action and target, and the second gives the ordering prerequisite. It is front-loaded and contains no wasted wording.

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 prepare-transaction tool with a fully described four-parameter schema, the description gives enough context to invoke it correctly: prerequisite mining state, commitmentId, and the prepare_sponsored_commit state file. The main remaining gap is explicit return/hand-off semantics for the unsigned transaction, which is somewhat implied by 'prepare an unsigned' but not detailed.

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 the schema already documents all four parameters, including state, sponsor, keystore, and commitmentId. The description reinforces the lifecycle meaning of state and commitmentId but does not add syntax or constraints beyond what the schema provides.

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 states a specific verb and resource: prepare an unsigned smart-account-callable SubmissionSponsor.sponsoredReveal transaction. It distinguishes the sponsored reveal path from the sibling prepare_direct_reveal by naming the sponsored contract method and smart-account callability.

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 clearly says to call this after the sponsored commit transaction is mined and once the commitmentId is available, and it identifies the state file from prepare_sponsored_commit as the input. It does not explicitly discuss alternatives or exclusions, but the timing and prerequisite guidance is strong.

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