Skip to main content
Glama
KaiSign MCP Server

KaiSign MCP Server

Official
by Kai-Sign

prepare_direct_vote

Prepares unsigned direct Reality.eth VALID vote transactions only when the scoped address holds the permissioned bond token; rejects ineligible addresses and directs callers to the sponsored path.

Instructions

Prepare unsigned direct Reality.eth VALID vote transactions only if the scoped address has the permissioned bond token.

This emits the exact bond-token approval plus submitAnswerERC20 transaction. It refuses when the scoped address is not eligible, so callers should use the sponsored/default path and avoid direct voting.

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": {
      "questionId": "<questionId>"
    },
    "name": "prepare_direct_vote"
  }
}

Input Schema

NameRequiredDescriptionDefault
tokensNoOptional vote bond amount; defaults according to current Reality.eth bond
keystoreNoKeyless scope manifest created by init_submission_scope.kaisign/submission-keystore.json
questionIdYesReality.eth question id from reveal

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.1/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 burden, and it does disclose meaningful behavior: the output is unsigned, it emits exactly a bond-token approval plus a submitAnswerERC20 call, and it hard-fails for ineligible addresses. It stops short of describing what the caller must do with the unsigned transactions, what happens if the bond token approval already exists, or error surface beyond plain refusal.

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 eligibility gate is front-loaded in the opening clause, and the mechanism sentence follows logically. The third sentence partially restates the first ('refuses when the scoped address is not eligible' repeats 'only if the scoped address has the permissioned bond token'), costing some tightness.

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 three-parameter, no-annotation, no-output-schema preparation tool, the definition covers the precondition, the exact emitted transactions, and the failure mode, which is what an agent needs to sequence the call. It omits how the returned unsigned transactions are packaged, which matters slightly more given there is no output schema.

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 schema has 100% description coverage, so the baseline is 3; the description adds a little by tying the 'bond token' eligibility condition to the token amount parameter and clarifying that this path requires the scoped address to be permissioned. It adds no format or constraint detail beyond what the schema already states for questionId, tokens, and keystore.

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 first sentence names a specific verb (prepare), a specific resource (unsigned direct Reality.eth VALID vote transactions) and a gating condition (scoped address must hold the permissioned bond token). This clearly separates it from the sponsored commit/reveal siblings referenced later, so an agent can distinguish it without opening the schemas.

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?

The definition states the precondition for use (address has the bond token), the negative case (refuses when not eligible), and redirects callers to the 'sponsored/default path' to avoid direct voting. The only gap is that it names a path rather than the concrete sibling (prepare_sponsored_commit vs prepare_sponsored_reveal), leaving the agent to infer which sponsored tool to call.

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