Skip to main content
Glama

Entalpa Requirements MCP

Requirements Patch

requirements_patch

Patch a requirement. A locked requirement refuses changes to its wording, and deletion, until a person unlocks it in Entalpa; its links, subsystem, lifecycle and implementation progress (implementation_status, implementation_notes, code_reference, test_reference, tests) can still be written, and labels_assign still labels it. lock: true locks the row; lock: false is ignored, since only a person unlocks, in Entalpa. 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>",
      "patch": "<patch>",
      "requirement_id": "<requirement_id>"
    },
    "name": "requirements_patch"
  }
}

Input Schema

NameRequiredDescriptionDefault
patchYesKeep text, human label and metadata in content. Relationship fields alongside content accept UUIDs only. Omitted or null relationship lists preserve links in patches; [] clears them. subsystem_id:null clears the subsystem.
project_idYesProject UUID (database id).
requirement_idYesRequirement UUID.

Output Schema

NameRequiredDescriptionDefault
lockYesTrue when the row is locked: generation leaves it out, and what it says can't change, nor can it be deleted, until a person unlocks it in Entalpa. Its links, subsystem or endpoints, implementation progress and a requirement's lifecycle can still be updated.
labelsYesLabels the item carries, by name. Set them with labels_assign and labels_unassign.
contentYesRequirement content object returned by the server.
lifecycleYesWhere the requirement stands. One of: draft, in_review, reviewed, in_progress, implemented, verified, blocked, rejected, superseded. The first six are a ladder from authored to tested; blocked, rejected and superseded are not progress. Writing content.implementation_status also moves this — in_progress, implemented, verified and blocked map across, while not_started is ignored rather than demoting a reviewed requirement.
project_idYesProject UUID (database id).
subsystem_idNoSubsystem UUID (database id).
requirement_idYesRequirement UUID (database id).
from_descriptionNoTrue if this requirement originated from the project description.
source_questionsNoThe answers it states (source_question_ids), by human id; a withdrawn value is marked.
source_story_idsYesList of story UUIDs.
suspect_story_idsNoSource stories edited after this requirement was written from them. Non-empty means it may no longer say what the story asks: re-propagate the story (projects_propagate_stories), rewrite the requirement, or confirm it still holds (requirements_confirm_sources) before implementing it.
source_question_idsNoAnswered questions whose answer this requirement states (a stakeholder's answer, or a value the team assumed).
suspect_question_idsNoOf source_question_ids, the answers changed after this requirement was found to state them: carry the change (projects_propagate_stories with chosen_question_ids), rewrite the requirement, or confirm it still holds (requirements_confirm_sources).
source_requirement_idsNoList of requirement UUIDs (database ids), not content.id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • changedInput schema / properties / patch / properties / content / properties / acceptance / description
      Previous value: -"Specific, measurable, achievable, relevant, time-bound criteria to consider the requirement complete."New value: +"Specific, measurable, achievable, relevant, time-bound criteria to consider the requirement complete. Written in the project's acceptance_style (projects_get): plain text, Given/When/Then steps, or EARS patterns."
    • addedInput schema / properties / patch / properties / source_question_ids
      Added value: +{
      +  "description": "Answered question UUIDs it states.",
      +  "items": {
      +    "description": "UUID.",
      +    "format": "uuid",
      +    "type": "string"
      +  },
      +  "type": [
      +    "array",
      +    "null"
      +  ]
      +}
    • changedOutput schema / properties / content / properties / acceptance / description
      Previous value: -"Specific, measurable, achievable, relevant, time-bound criteria to consider the requirement complete."New value: +"Specific, measurable, achievable, relevant, time-bound criteria to consider the requirement complete. Written in the project's acceptance_style (projects_get): plain text, Given/When/Then steps, or EARS patterns."
    • addedOutput schema / properties / source_question_ids
      Added value: +{
      +  "description": "Answered questions whose answer this requirement states (a stakeholder's answer, or a value the team assumed).",
      +  "items": {
      +    "description": "Open question UUID.",
      +    "format": "uuid",
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / source_questions
      Added value: +{
      +  "description": "The answers it states (source_question_ids), by human id; a withdrawn value is marked.",
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "human_id": {
      +        "description": "The question's id people know it by (Q-007).",
      +        "type": "string"
      +      },
      +      "id": {
      +        "description": "Open question UUID.",
      +        "format": "uuid",
      +        "type": "string"
      +      },
      +      "withdrawn": {
      +        "description": "A value the team assumed that a refresh withdrew: in no list of questions, still stated here until a carry or a person settles it.",
      +        "type": "boolean"
      +      }
      +    },
      +    "required": [
      +      "id",
      +      "human_id"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / suspect_question_ids
      Added value: +{
      +  "description": "Of source_question_ids, the answers changed after this requirement was found to state them: carry the change (projects_propagate_stories with chosen_question_ids), rewrite the requirement, or confirm it still holds (requirements_confirm_sources).",
      +  "items": {
      +    "description": "Open question UUID.",
      +    "format": "uuid",
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
  2. Changed4 schema fields changed
    • removedInput schema / properties / patch / properties / flags
      Removed value: -{
      -  "description": "List of requirement flags/tags. Omitted: none on create, unchanged on update.",
      -  "items": {
      -    "description": "Flag string.",
      -    "type": "string"
      -  },
      -  "type": "array"
      -}
    • removedOutput schema / properties / flags
      Removed value: -{
      -  "description": "List of requirement flags/tags. Omitted: none on create, unchanged on update.",
      -  "items": {
      -    "description": "Flag string.",
      -    "type": "string"
      -  },
      -  "type": "array"
      -}
    • addedOutput schema / 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 / required
      Previous value: -[
      -  "requirement_id",
      -  "project_id",
      -  "content",
      -  "flags",
      -  "lock",
      -  "source_story_ids",
      -  "lifecycle"
      -]New value: +[
      +  "requirement_id",
      +  "project_id",
      +  "content",
      +  "labels",
      +  "lock",
      +  "source_story_ids",
      +  "lifecycle"
      +]
  3. Changed4 schema fields changed
    • changedInput schema / properties / patch / properties / flags / description
      Previous value: -"List of requirement flags/tags."New value: +"List of requirement flags/tags. Omitted: none on create, unchanged on update."
    • changedInput schema / properties / patch / properties / lock / description
      Previous value: -"True to lock the requirement from LLM modifications."New value: +"true locks the row. false is ignored: only a person can unlock it, in Entalpa. Omitted, the lock stays as it is."
    • changedOutput schema / properties / flags / description
      Previous value: -"List of requirement flags/tags."New value: +"List of requirement flags/tags. Omitted: none on create, unchanged on update."
    • changedOutput schema / properties / lock / description
      Previous value: -"True to lock the requirement from LLM modifications."New value: +"True when the row is locked: generation leaves it out, and what it says can't change, nor can it be deleted, until a person unlocks it in Entalpa. Its links, subsystem or endpoints, implementation progress and a requirement's lifecycle can still be updated."
  4. Changed4 schema fields changed
    • addedInput schema / properties / patch / properties / content / properties / priority / anyOf
      Added value: +[
      +  {
      +    "enum": [
      +      "must",
      +      "should",
      +      "could",
      +      "won't"
      +    ],
      +    "type": "string"
      +  },
      +  {
      +    "items": {
      +      "type": "string"
      +    },
      +    "type": "array"
      +  }
      +]
    • changedInput schema / properties / patch / properties / content / properties / priority / description
      Previous value: -"Importance level (for example: must, should, could, would)."New value: +"MoSCoW priority: must, should, could or won't (high/medium/low and would are read as must/should/could/won't, and a list as its first entry that names one). A new value that names none of them is refused."
    • changedInput schema / properties / patch / properties / content / properties / priority / type
      Previous value: -"array"New value: +[
      +  "string",
      +  "array"
      +]
    • changedOutput schema / properties / content / properties / priority / description
      Previous value: -"Importance level (for example: must, should, could, would)."New value: +"MoSCoW priority: must, should, could or won't. An imported or older value may be other text, which counts as no priority."
  5. First observed

TDQS

A3.7/5.0
Behavior4/5

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

The description adds substantial behavior beyond the annotations: locked requirements refuse wording changes and deletion, certain fields remain writable, lock:false is ignored, and the change enters the project undo history. This is useful operational context, though it does not discuss permissions or concurrency concerns.

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 description is front-loaded with the core action and stays reasonably compact. It is somewhat dense in the middle, with multiple lock-related clauses packed into one paragraph, but every sentence contributes relevant behavior.

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?

Given the rich schema, annotations, and output schema, the description covers the key ambiguities around locked requirements and undo history. The main remaining gap is guidance on choosing this tool over requirements_update or requirements_delete.

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 description coverage is 100%, so the schema already documents the parameters thoroughly. The description adds some meaning by explaining lock behavior and which fields remain writable on a locked requirement, but does not add detail for project_id, requirement_id, or most patch fields.

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 states a specific verb and resource: "Patch a requirement." It makes the core operation clear, but does not differentiate it from the sibling requirements_update tool or explain why one would patch rather than update.

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?

Usage is implied through the lock behavior and the note that labels_assign still works on locked requirements. However, there is no explicit guidance on when to use this tool versus requirements_update, requirements_delete, or other requirement tools.

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