Skip to main content
Glama
KaiSign MCP Server

KaiSign MCP Server

Official
by Kai-Sign

prepare_direct_reveal

Generates unsigned direct registry reveal transactions by checking bond-token eligibility and emitting the required approval plus revealSpec; refuses ineligible addresses so callers can fall back.

Instructions

Prepare unsigned direct registry reveal transactions only if the scoped address has the permissioned bond token.

This emits the exact bond-token approval plus revealSpec transaction. It refuses when the scoped address is not eligible, so callers fall back to the sponsored smart-account/default workflow.

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_direct_reveal"
  }
}

Input Schema

NameRequiredDescriptionDefault
stateYesSubmission state file from prepare_direct_commit
keystoreNoKeyless scope manifest created by init_submission_scope.kaisign/submission-keystore.json
tokenAmountNoOptional explicit bond token amount; defaults to registry minBond
commitmentIdYesCommitment id emitted by the commit transaction

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full disclosure burden. It does reveal two important behaviors beyond the schema: the call emits two unsigned artifacts (bond-token approval and revealSpec) and it refuses when the address is ineligible. It says nothing about permissions/scope setup requirements, idempotency, or what the refusal looks like to the caller.

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?

Two compact sentences that put the eligibility precondition first. The second half restates the eligibility rule as a refusal plus fallback, which is a slight duplication but adds actionable routing information rather than filler.

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 four-parameter preparation tool with no annotations and no output schema, the description covers purpose, precondition, emitted artifacts, and failure routing. It stops short of describing the shape or destination of the emitted transactions (return value vs. file), which is the main remaining gap.

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 description coverage is 100%, so the schema already documents all four parameters including the meaning of 'state', 'commitmentId', 'keystore', and the default for 'tokenAmount'. The description mentions the bond-token approval and revealSpec but adds no format, dependency, or ordering constraints beyond what the schema provides, so the baseline 3 applies.

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

Purpose4/5

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

The description gives a specific verb ('prepare') plus a specific resource ('unsigned direct registry reveal transactions') and adds the gating condition that the scoped address must hold the permissioned bond token. It differentiates itself from the sponsored path by contrasting 'direct' with the 'sponsored smart-account/default workflow', though it does not name the sibling tool explicitly.

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 states both the positive condition for use (scoped address has the permissioned bond token) and the negative case with an explicit alternative ('callers fall back to the sponsored smart-account/default workflow'). It does not name the exact sibling tool to call instead, leaving a small inference gap.

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