Skip to main content
Glama

question_update

Edits a pending question's text or moves it to defaulted or withdrawn, revalidating the result and replacing a mismatched default choice with the recommended label.

Instructions

Edit a pending question's text (question, header, options, default_answer; the whole result is revalidated, and a mismatched choice default is replaced with the recommended label and reported as default_answer_replaced) or move it out of pending with state=defaulted (you acted on your default) or state=withdrawn (moot). A defaulted question can still be withdrawn. Moving state needs the asking session or the human; an answered or withdrawn question cannot be changed. The ref, asker and wake target never change.

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": {
      "question_id": "<question_id>"
    },
    "name": "question_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
stateNo
headerNo12 characters or fewer; longer values are cut at a word boundary and reported as header_truncated.
optionsNo
questionNo
question_idYes
default_answerNo

Output Schema

NameRequiredDescriptionDefault
stateYes
hive_noticeNo
question_idYes
header_truncatedNo
default_answer_replacedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.15.5
    • addedOutput schema / properties / default_answer_replaced
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "given": {
      +      "type": "string"
      +    },
      +    "stored": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "given",
      +    "stored"
      +  ],
      +  "type": "object"
      +}
  2. Changed4 schema fields changedv1.15.2
    • addedInput schema / properties / header / description
      Added value: +"12 characters or fewer; longer values are cut at a word boundary and reported as header_truncated."
    • changedInput schema / properties / options / items / properties / recommended / description
      Previous value: -"Exactly one option is recommended; it is the default."New value: +"Whether this option is recommended; omitted options default to false."
    • changedInput schema / properties / options / items / required
      Previous value: -[
      -  "label",
      -  "description",
      -  "recommended"
      -]New value: +[
      +  "label",
      +  "description"
      +]
    • addedOutput schema / properties / header_truncated
      Added value: +{
      +  "type": "string"
      +}
  3. Addedv1.11.5

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only mark this as a non-readOnly, non-destructive mutation. The description adds the real behavioral payload: the whole record is revalidated, a mismatched default choice is silently replaced with the recommended label and surfaced as default_answer_replaced, state moves require the asking session or the human, and ref/asker/wake target are immutable.

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?

Front-loaded with the two operations and dense with useful constraints, but the opening sentence is long and parenthesis-heavy, forcing the reader to unpack 'the whole result is revalidated' and the default_answer_replaced aside mid-clause.

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?

An output schema exists, so return values need no explanation, and the description covers side effects, permissions, terminal states, and immutable fields for a mutation tool. What's missing is behavior on re-editing a defaulted question's text before withdrawal and any note on repeated-call effects, consistent with idempotentHint=false.

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?

With schema description coverage at 17%, the description carries most of the weight: it maps question, header, options, and default_answer to the edit operation and defines the two state values semantically ('you acted on your default' vs 'moot'). question_id is only implied as the pending question's identifier, and per-parameter value constraints remain thin, so not a 5.

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?

States a precise verb and resource ('Edit a pending question's text') plus the second mode ('move it out of pending with state=defaulted ... or state=withdrawn'), and enumerates the editable fields. An agent can distinguish this from question_answer or question_ask without opening the schema.

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?

Gives clear conditions: pending questions can be edited or re-stated, a defaulted question can still be withdrawn, and 'an answered or withdrawn question cannot be changed.' Preconditions are explicit ('Moving state needs the asking session or the human'). It stops short of naming a sibling alternative for non-editable cases, so not a full 5.

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