Skip to main content
Glama

Publish answers under review or keep them private

decide_answers
Idempotent

Resolve held answers per round by publishing them to peers or keeping them private. Commits all decisions atomically and returns the round status so you know whether to wait or finish.

Instructions

Decide held answers atomically: publish shares with peers; private keeps between boss and seat. Repeating a decision is idempotent; changing it is rejected. Parallel rounds commit after all decisions; serial rounds then start the next seat. Returns after local commit when no work/review remains: finished needs no further call; running/review requires wait.

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": {
      "round_id": "<round_id>",
      "decisions": "<decisions>"
    },
    "name": "decide_answers"
  }
}

Input Schema

NameRequiredDescriptionDefault
round_idYes
decisionsYesseat_id -> publish or private

Output Schema

NameRequiredDescriptionDefault
errorNo
statusYes
entriesYes
round_idYes
committedYes
decisionsYes
pending_reviewYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv1.9.0
    • changedOutput schema / $defs / CommittedEntryPayload / properties / identity / $ref
      Previous value: -"#/$defs/MemberIdentity"New value: +"#/$defs/ReplyIdentity"
    • removedOutput schema / $defs / MemberIdentity
      Removed value: -{
      -  "properties": {
      -    "cli": {
      -      "title": "Cli",
      -      "type": "string"
      -    },
      -    "handle": {
      -      "title": "Handle",
      -      "type": "string"
      -    },
      -    "handle_short": {
      -      "title": "Handle Short",
      -      "type": "string"
      -    },
      -    "key": {
      -      "title": "Key",
      -      "type": "string"
      -    },
      -    "model": {
      -      "title": "Model",
      -      "type": "string"
      -    },
      -    "model_short": {
      -      "title": "Model Short",
      -      "type": "string"
      -    },
      -    "model_source": {
      -      "enum": [
      -        "native",
      -        "requested",
      -        "unknown"
      -      ],
      -      "title": "Model Source",
      -      "type": "string"
      -    },
      -    "numbered": {
      -      "title": "Numbered",
      -      "type": "boolean"
      -    },
      -    "ordinal": {
      -      "title": "Ordinal",
      -      "type": "integer"
      -    },
      -    "provider": {
      -      "title": "Provider",
      -      "type": "string"
      -    },
      -    "role": {
      -      "anyOf": [
      -        {
      -          "type": "string"
      -        },
      -        {
      -          "type": "null"
      -        }
      -      ],
      -      "title": "Role"
      -    },
      -    "spoken_name": {
      -      "title": "Spoken Name",
      -      "type": "string"
      -    }
      -  },
      -  "required": [
      -    "key",
      -    "provider",
      -    "cli",
      -    "model",
      -    "model_short",
      -    "model_source",
      -    "ordinal",
      -    "numbered",
      -    "handle",
      -    "handle_short",
      -    "spoken_name"
      -  ],
      -  "title": "MemberIdentity",
      -  "type": "object"
      -}
    • addedOutput schema / $defs / ReplyIdentity
      Added value: +{
      +  "additionalProperties": true,
      +  "type": "object"
      +}
  2. Changed2 schema fields changedv1.3.0
    • addedOutput schema / $defs / CommittedEntryPayload / properties / identity
      Added value: +{
      +  "$ref": "#/$defs/MemberIdentity"
      +}
    • addedOutput schema / $defs / MemberIdentity
      Added value: +{
      +  "properties": {
      +    "cli": {
      +      "title": "Cli",
      +      "type": "string"
      +    },
      +    "handle": {
      +      "title": "Handle",
      +      "type": "string"
      +    },
      +    "handle_short": {
      +      "title": "Handle Short",
      +      "type": "string"
      +    },
      +    "key": {
      +      "title": "Key",
      +      "type": "string"
      +    },
      +    "model": {
      +      "title": "Model",
      +      "type": "string"
      +    },
      +    "model_short": {
      +      "title": "Model Short",
      +      "type": "string"
      +    },
      +    "model_source": {
      +      "enum": [
      +        "native",
      +        "requested",
      +        "unknown"
      +      ],
      +      "title": "Model Source",
      +      "type": "string"
      +    },
      +    "numbered": {
      +      "title": "Numbered",
      +      "type": "boolean"
      +    },
      +    "ordinal": {
      +      "title": "Ordinal",
      +      "type": "integer"
      +    },
      +    "provider": {
      +      "title": "Provider",
      +      "type": "string"
      +    },
      +    "role": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "title": "Role"
      +    },
      +    "spoken_name": {
      +      "title": "Spoken Name",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "key",
      +    "provider",
      +    "cli",
      +    "model",
      +    "model_short",
      +    "model_source",
      +    "ordinal",
      +    "numbered",
      +    "handle",
      +    "handle_short",
      +    "spoken_name"
      +  ],
      +  "title": "MemberIdentity",
      +  "type": "object"
      +}
  3. Changed1 schema field changedv0.49.0
    • addedInput schema / additionalProperties
      Added value: +false
  4. Changed3 schema fields changedv0.35.0
    • changedInput schema / $defs / Decision / enum
      Previous value: -[
      -  "publish",
      -  "discard"
      -]New value: +[
      +  "publish",
      +  "private"
      +]
    • changedInput schema / properties / decisions / description
      Previous value: -"seat_id -> publish or discard"New value: +"seat_id -> publish or private"
    • changedOutput schema / $defs / Decision / enum
      Previous value: -[
      -  "publish",
      -  "discard"
      -]New value: +[
      +  "publish",
      +  "private"
      +]
  5. Changed5 schema fields changedv0.31.0
    • addedOutput schema / $defs / CommittedEntryPayload
      Added value: +{
      +  "properties": {
      +    "kind": {
      +      "enum": [
      +        "task",
      +        "answer",
      +        "absent",
      +        "forward",
      +        "host"
      +      ],
      +      "title": "Kind",
      +      "type": "string"
      +    },
      +    "message_id": {
      +      "title": "Message Id",
      +      "type": "string"
      +    },
      +    "round": {
      +      "title": "Round",
      +      "type": "integer"
      +    },
      +    "seat": {
      +      "title": "Seat",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "message_id",
      +    "kind",
      +    "round"
      +  ],
      +  "title": "CommittedEntryPayload",
      +  "type": "object"
      +}
    • addedOutput schema / properties / entries
      Added value: +{
      +  "items": {
      +    "$ref": "#/$defs/CommittedEntryPayload"
      +  },
      +  "title": "Entries",
      +  "type": "array"
      +}
    • addedOutput schema / properties / error
      Added value: +{
      +  "title": "Error",
      +  "type": "string"
      +}
    • addedOutput schema / properties / status
      Added value: +{
      +  "enum": [
      +    "running",
      +    "review",
      +    "finished",
      +    "failed",
      +    "cancelled",
      +    "interrupted"
      +  ],
      +  "title": "Status",
      +  "type": "string"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "round_id",
      -  "decisions",
      -  "pending_review",
      -  "committed"
      -]New value: +[
      +  "round_id",
      +  "decisions",
      +  "pending_review",
      +  "committed",
      +  "entries",
      +  "status"
      +]
  6. Addedv0.23.0

TDQS

A4/5.0
Behavior5/5

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

Beyond the annotations, the description discloses atomicity, that repeating a decision is idempotent while changing it is rejected, how parallel vs serial rounds commit, and what the return state implies. This is exactly the kind of policy and concurrency context an agent cannot get from the structured fields.

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 definition is dense and front-loaded: the core action and its two modes come first, then idempotency, then commit semantics, then return routing. Some phrases are telegraphic ('private keeps between boss and seat'), but nothing is padded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a mutation tool with an output schema and annotations, this covers the important gaps: atomicity, rejection policy, round-concurrency behavior, and what return states mean for the next step. The only remaining hole, the meaning of round_id, is minor.

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?

With 50% schema coverage, 'round_id' is undocumented in both the schema and the description, and the notion of a 'round' is never explained. The description does clarify that 'private' means shared only between boss and seat, which adds some meaning to the decisions map, but leaves the round concept opaque.

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 names a specific verb ('decide') and resource ('held answers') and immediately spells out the two outcomes, publish vs private. It is clearly not a generic decision tool, though it doesn't explicitly contrast with siblings like run_round or wait.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The final sentence gives clear post-call routing ('finished needs no further call; running/review requires wait'), which is genuinely useful. However, there's no statement of preconditions or when to call this instead of related tools — the guidance is about what to do next, not when to invoke it.

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