Skip to main content
Glama

Answer open question

answer_open_question

Answer an open question. Open questions are tracked as ai_todo_items with category 'open_question' (create with create_ai_todo_item, optionally linked to a pattern via entity_type='ai_memory_item' + entity_id). This marks the question completed, records the answer, and — when it is linked to a recurring-error pattern — appends the Q&A into that pattern's metadata.answered_questions, so the answer flows back into the Fehlerbild and the same question is not asked again.

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>",
      "answer": "<answer>"
    },
    "name": "answer_open_question"
  }
}

Input Schema

NameRequiredDescriptionDefault
answerYesThe answer text
question_idYesUUID of the open-question todo (ai_todo_items)
apply_to_patternNoAlso append the Q&A into the linked recurring-error pattern's metadata (default true)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare this is a non-read-only, non-destructive, non-idempotent mutation, and the description adds real substance beyond that: it marks the question completed and writes into the linked pattern's metadata.answered_questions. The gap is that with idempotentHint=false it never warns that a repeat call would double-append the Q&A, nor says what happens if question_id is not an open_question todo.

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 action and its effects, and the parenthetical creation hint is genuinely useful rather than filler. The final sentence is long and packs the linkage, the write target and the rationale together, which costs a little readability.

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 3-parameter mutation with annotations but no output schema, the description covers what changes, where the answer lands, and why it matters. Missing edges — behavior on a non-open_question id, duplicate-appends on retry, and what the call returns — keep it from being fully complete.

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?

Schema coverage is 100%, so question_id, answer and apply_to_pattern are already documented; baseline 3 applies. The description adds rationale for the pattern-append behavior (the answer flows back into the Fehlerbild so the question isn't re-asked), but it never names apply_to_pattern, so the added meaning is indirect.

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 ("Answer an open question") and immediately grounds the resource in the data model: open questions are ai_todo_items with category 'open_question'. It then enumerates the three concrete effects (mark completed, record answer, append Q&A to pattern metadata), which clearly separates it from generic todo-item siblings.

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 context for when this applies and points at the sibling used to create the underlying item (create_ai_todo_item, with entity_type='ai_memory_item' + entity_id for pattern linkage). It lacks an explicit "do not use this if..." clause — e.g. for non-open_question todos or already-answered questions — so it stops short of full routing guidance.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources