Skip to main content
Glama

Entalpa Requirements MCP

Open Questions Convert To Story

open_questions_convert_to_story

Write an answered open question's decision into the backlog. A question asked about a story usually revises that story (action "revise"); a question about the whole project can revise the story whose goal its answer settles (revises_story_id). Otherwise, or when the answer settles a different goal, it becomes a new story. The text and the action are drafted for you when content is omitted; pass dry_run to read the draft (with the story's previous text, and any reviewed requirements to revisit) without changing anything, then pass content, action and revises_story_id back. action without content drafts for that action instead of letting the model choose. A new story is aligned to stakeholders unless run_align_to_story is false; when that fails, the story is saved all the same and alignment_failure says why. Fails with 409 if the question is unanswered or already converted. The change is one step in the project's undo history, which projects_undo steps back through.

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": {
      "project_id": "<project_id>",
      "open_question_id": "<open_question_id>"
    },
    "name": "open_questions_convert_to_story"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionNoWith content: "revise" rewrites the story the question was asked about (or, for a question about the whole project, the story in revises_story_id) with content; "new" (the default) adds a story. Pass back the action a dry run returned, or override it.
contentNoStory text to use. Omit to have it drafted from the question and answer.
dry_runNoIf true, return the drafted story text without creating the story.
human_idNoStory human label (e.g. S-3), for creation and display.
project_idYesProject UUID (database id).
open_question_idYesOpen question UUID (database id).
revises_story_idNoUUID of the story to revise, as returned by the dry run. For a story-scoped question it must match the associated story.
run_align_to_storyNoIf true, run the align_to_story LLM job after saving the story.

Output Schema

NameRequiredDescriptionDefault
storyNoStory summary fields.
actionYes"revise": content replaces the story in revises_story_id (the one the question was asked about, or the one its answer settles). "new": content is a new story.
contentYesStory text to use. Omit to have it drafted from the question and answer.
questionNoOpen question summary fields.
previous_contentNoFor a revision: the story's text before it.
revises_story_idNoFor a revision: UUID of the story it rewrites.
alignment_failureNoFor a new story: why it could not be aligned to stakeholders. The story and the question's link to it are saved all the same, so converting again is refused; align it with stories_update and `run_align_to_story: true`.
requirement_labelsNoHuman labels keyed by UUID for requirements_to_revisit.
revises_story_labelNoFor a revision: human story label for display.
requirements_to_revisitNoFor a revision of a story whose requirements are reviewed or further along: those requirements, which the changed story may no longer match.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedOutput schema / properties / question / properties / answer_changed
      Added value: +{
      +  "description": "True when the answer was edited after the project took it in and the change is not carried into the requirements yet (projects_propagate_stories with chosen_question_ids). Absent otherwise.",
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / question / properties / answer_source
      Added value: +{
      +  "description": "Whose answer it holds. 'proposed': a value Entalpa proposed instead of asking, an assumption until someone confirms it (status 'answered' with no new answer) or answers it differently. Absent or 'user': the user's own.",
      +  "enum": [
      +    "user",
      +    "proposed"
      +  ],
      +  "type": "string"
      +}
    • addedOutput schema / properties / question / properties / audience
      Added value: +{
      +  "description": "Who can settle it, as the question planner judged: 'stakeholder' (only the people the product is for decide it: a business rule, limit, amount, priority or scope; asked) or 'team' (an expert would decide it; Entalpa proposes the answer instead of asking).",
      +  "enum": [
      +    "stakeholder",
      +    "team"
      +  ],
      +  "type": "string"
      +}
    • addedOutput schema / properties / question / properties / kind
      Added value: +{
      +  "description": "What the question asks for. 'measure': a business measure Entalpa assumed from its look at the whole project, revised once answers come in after it until someone confirms it.",
      +  "enum": [
      +    "rule",
      +    "measure",
      +    "priority",
      +    "scope",
      +    "technical"
      +  ],
      +  "type": "string"
      +}
  2. Changed4 schema fields changed
    • addedOutput schema / properties / question / properties / labels
      Added value: +{
      +  "description": "Labels the item carries, by name. Set them with labels_assign and labels_unassign.",
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "id": {
      +        "description": "Label UUID, from labels_list.",
      +        "format": "uuid",
      +        "type": "string"
      +      },
      +      "name": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "id",
      +      "name"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • changedOutput schema / properties / question / required
      Previous value: -[
      -  "open_question_id",
      -  "project_id",
      -  "human_id",
      -  "question",
      -  "status"
      -]New value: +[
      +  "open_question_id",
      +  "project_id",
      +  "human_id",
      +  "question",
      +  "status",
      +  "labels"
      +]
    • addedOutput schema / properties / story / properties / labels
      Added value: +{
      +  "description": "Labels the item carries, by name. Set them with labels_assign and labels_unassign.",
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "id": {
      +        "description": "Label UUID, from labels_list.",
      +        "format": "uuid",
      +        "type": "string"
      +      },
      +      "name": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "id",
      +      "name"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • changedOutput schema / properties / story / required
      Previous value: -[
      -  "story_id",
      -  "human_id",
      -  "project_id",
      -  "content",
      -  "requirement_ids",
      -  "stakeholder_ids",
      -  "lifecycle_rollup"
      -]New value: +[
      +  "story_id",
      +  "human_id",
      +  "project_id",
      +  "content",
      +  "requirement_ids",
      +  "stakeholder_ids",
      +  "lifecycle_rollup",
      +  "labels"
      +]
  3. Changed2 schema fields changed
    • addedOutput schema / properties / question / properties / pack_source
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "Set when a pack review raised the question.",
      +  "properties": {
      +    "concern": {
      +      "description": "The concern, in the pack's words.",
      +      "type": "string"
      +    },
      +    "pack_title": {
      +      "description": "The pack whose concern raised the question.",
      +      "type": "string"
      +    },
      +    "version_name": {
      +      "description": "The published version of the pack that was read.",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "pack_title",
      +    "concern"
      +  ],
      +  "type": "object"
      +}
    • addedOutput schema / properties / story / properties / priority
      Added value: +{
      +  "description": "MoSCoW priority: must, should, could or won't. Absent until someone sets it.",
      +  "enum": [
      +    "must",
      +    "should",
      +    "could",
      +    "won't"
      +  ],
      +  "type": "string"
      +}
  4. Changed2 schema fields changed
    • addedOutput schema / properties / story / properties / human_id
      Added value: +{
      +  "description": "Story human label (e.g. S-3), for creation and display.",
      +  "type": "string"
      +}
    • changedOutput schema / properties / story / required
      Previous value: -[
      -  "story_id",
      -  "project_id",
      -  "content",
      -  "requirement_ids",
      -  "stakeholder_ids",
      -  "lifecycle_rollup"
      -]New value: +[
      +  "story_id",
      +  "human_id",
      +  "project_id",
      +  "content",
      +  "requirement_ids",
      +  "stakeholder_ids",
      +  "lifecycle_rollup"
      +]
  5. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only declare non-read-only, non-destructive, open-world; the description goes well beyond them, disclosing the 409 failure conditions (unanswered or already converted), that alignment failure still saves the story and reports alignment_failure, that the change is a single undoable step, and exactly what a dry run returns without mutating state.

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 primary effect before the branching rules and the dry-run workflow, and nearly every sentence carries decision-relevant information. Some sentences are long and stack multiple clauses, which slightly taxes readability for a tool this dense.

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?

An output schema exists, so return shapes need not be explained, yet the description still covers the failure modes and the alignment_failure signal an agent must handle. Given eight parameters with branching behavior, that is enough to invoke it correctly.

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?

Schema coverage is 100%, so the baseline is 3, but the prose adds real meaning the schema cannot: the round-trip contract where dry_run output (draft text, action, revises_story_id) is passed back as input, and that supplying action without content narrows the draft to that action. That is workflow semantics, not restatement.

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?

Opening sentence gives a specific verb and resource: writing an answered open question's decision into the backlog as a story or a story revision. It immediately distinguishes the two outcome modes (revise vs. new) and how each is selected, so an agent can predict the effect 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 Guidelines5/5

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

It spells out the decision rule: a story-scoped question usually revises that story, a project-scoped question can revise the story whose goal its answer settles, otherwise it becomes a new story. It also prescribes the dry-run-then-commit workflow and routes to projects_undo for reverting, leaving little ambiguity about when and how to call it.

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