Skip to main content
Glama

question_ask

Records an open question for a human, tied to the project and asker, with choice or free-text options and a default answer; dedupes similar pending questions and returns the answer on response.

Instructions

Record an open question for the human, keyed to this project and to you as the asker. kind=choice takes 2-4 options (each label, description, recommended; exactly one recommended) and a header of 12 characters or fewer (longer is cut at a word boundary and reported as header_truncated); kind=free_text takes just the question and header. Every question carries default_answer: for a choice it is the recommended option's label; a different default_answer is replaced with the recommended label and reported as default_answer_replaced. Pass ref (a todo id or PR number) to dedupe: asking again with a ref that already has a PENDING question in this project updates that row instead of adding one. The receipt lists other pending questions in this project that look similar (same normalized text, or at least half their longer words shared), so you can question_update one instead. The record is only stored: put the question to the human yourself, in your own turn. You must be a session an answer can be woken back to. When the question is answered, an ordinary wake carrying the answer is queued to you; read the record with question_get.

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": {
      "kind": "<kind>",
      "question": "<question>",
      "header": "<header>"
    },
    "name": "question_ask"
  }
}

Input Schema

NameRequiredDescriptionDefault
refNo
kindYes
headerYes12 characters or fewer; longer values are cut at a word boundary and reported as header_truncated.
optionsNoRequired for choice, forbidden for free_text.
questionYes
default_answerNoWhat you do if unanswered. For a choice, defaults to the recommended label; required for free_text.

Output Schema

NameRequiredDescriptionDefault
createdYes
hive_noticeNo
question_idYes
header_truncatedNo
similar_question_idsYes
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. Changed6 schema fields changedv1.15.2
    • changedInput schema / properties / default_answer / description
      Previous value: -"What you do if unanswered. For a choice, the recommended label."New value: +"What you do if unanswered. For a choice, defaults to the recommended label; required for free_text."
    • changedInput schema / properties / header / description
      Previous value: -"12 characters or fewer."New 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"
      +]
    • changedInput schema / required
      Previous value: -[
      -  "kind",
      -  "question",
      -  "header",
      -  "default_answer"
      -]New value: +[
      +  "kind",
      +  "question",
      +  "header"
      +]
    • addedOutput schema / properties / header_truncated
      Added value: +{
      +  "type": "string"
      +}
  3. Addedv1.11.5

TDQS

A4.7/5.0
Behavior5/5

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

Goes well beyond the annotations, which only declare write/non-destructive/non-idempotent. The description discloses header truncation and header_truncated reporting, default_answer replacement with default_answer_replaced reporting, ref-based update-instead-of-insert dedupe, similarity matching logic on the receipt, and the wake-on-answer delivery to the asking session. It also states a hard precondition: the caller must be a session that can be woken.

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-loads purpose and behavior, and nearly every clause carries information (truncation, dedupe, wake). It is dense and clause-heavy, with several parenthetical asides that could be split for readability, but nothing is filler.

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 6-parameter, nested-object write tool with 50% schema coverage, the description covers arity rules, defaulting, dedupe, side effects, preconditions, and follow-up reads via question_get. Return values are already covered by the output schema, so no gap remains for correct invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 50%, but the description supplies the missing semantics: kind=choice requires 2-4 options with exactly one recommended, kind=free_text takes only question and header, options are required for choice and forbidden for free_text, and default_answer is required for free_text and defaults to the recommended label for choice. That adds constraints the schema does not encode.

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 specific verb and resource ("Record an open question for the human") plus its keying (project and asker), which distinguishes it clearly from question_get and question_update. An agent can tell it is the creation entry point in the question lifecycle 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 concrete routing guidance: pass ref to dedupe, and if the receipt lists similar pending questions, "question_update one instead." It also warns the record is only stored and the asker must put the question to the human in their own turn. It does not discuss when not to ask at all, but the alternative path is named explicitly.

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