Skip to main content
Glama
SAIHM-Admin

saihm-mcp-server (standards client)

Vote (governance)

saihm_governance_vote

Cast a vote on a governance proposal by its ID, choosing approve or reject. Voting weight uses tokens held at the proposal snapshot, not current balance, so act before the snapshot or note the weight difference.

Instructions

Cast a vote on an open protocol governance proposal by its proposalId, with approve set to true to approve or false to reject. Protocol governance is not enabled by default. The call is forwarded to the operator endpoint you configured, so expect an error rather than a recorded vote unless that operator has turned governance on. Where it is enabled, vote weight derives from the governance-token balance held at the proposal snapshot epoch, not the balance at the time of voting.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
approveYestrue = approve, false = reject
proposalIdYesHex proposalId returned by saihm_governance_propose

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.3.1
    • removedInput schema / additionalProperties
      Removed value: -false
  2. First observedv0.1.2

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already mark readOnly=false and idempotent=false, and the description adds non-obvious behavior: the call is forwarded to the operator endpoint, failures occur when governance is disabled, and vote weight is based on snapshot-epoch balance rather than current balance. This materially helps an agent predict outcomes.

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?

Three sentences, front-loaded with the action and parameter semantics, with caveats following. There is no filler, repetition of annotation data, or unnecessary detail.

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?

The description covers purpose, parameters, failure mode, and the voting-weight caveat, which is substantial for a two-parameter tool. It does not describe the success or failure return payload, but with no output schema this is a minor gap given the behavioral caveats are covered.

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?

The input schema fully documents both required parameters with descriptions, so the baseline is 3. The description repeats the approve polarity and references proposalId but adds no new parameter-level syntax or constraints beyond the 'open proposal' context.

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 names a specific action ('Cast a vote'), the resource (an open protocol governance proposal), and identifies the proposal by proposalId. It also clarifies the approve boolean's polarity, so an agent can distinguish this from proposal-creation sibling saihm_governance_propose.

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 description gives clear invocation context: the proposal must be open, the approve flag expresses support or rejection, and governance may be disabled at the operator endpoint so an error is expected unless enabled. It does not explicitly name sibling alternatives or state when not to vote, but the context is sufficient for correct use.

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