Skip to main content
Glama

Entalpa Requirements MCP

Requirements Update

requirements_update

Update a requirement. Content merges by key: send only changed content keys, using arrays for metadata, to preserve existing scalar/list values. PUT resets omitted from_description, subsystem_id, source_story_ids and source_requirement_ids; include their current values to preserve them. An omitted lock stays unchanged, and so does an omitted lifecycle unless content.implementation_status supplies a recognized status. Prefer requirements_patch for partial edits. 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>",
      "requirement": "<requirement>",
      "requirement_id": "<requirement_id>"
    },
    "name": "requirements_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYesProject UUID (database id).
requirementYesKeep 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.
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 / requirement / 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 / requirement / properties / source_question_ids
      Added value: +{
      +  "description": "Answered question UUIDs it states.",
      +  "items": {
      +    "description": "UUID.",
      +    "format": "uuid",
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • 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 / requirement / 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 / requirement / 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 / requirement / 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 / requirement / properties / content / properties / priority / anyOf
      Added value: +[
      +  {
      +    "enum": [
      +      "must",
      +      "should",
      +      "could",
      +      "won't"
      +    ],
      +    "type": "string"
      +  },
      +  {
      +    "items": {
      +      "type": "string"
      +    },
      +    "type": "array"
      +  }
      +]
    • changedInput schema / properties / requirement / 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 / requirement / 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

A4.8/5.0
Behavior5/5

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

Annotations only declare readOnly=false, destructive=false, openWorld=false; the description adds the substantive behavior: key-merge for content, PUT-reset of four omitted fields, lock semantics (wording and deletion refused, links/subsystem/lifecycle/progress still writable, labels_assign unaffected), lock:false being a no-op, and participation in a single undo-history step. That is far beyond what the structured fields convey and directly prevents data loss on omitted fields.

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 core merge/reset rules before the longer lock discussion, and nearly every sentence carries a distinct calling rule. Minor deductions for repetition — "lock: false is ignored, since only a person unlocks, in Entalpa" restates the schema's lock description almost verbatim, and "in Entalpa" appears twice.

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 nested, full-replacement mutation with locking and undo side effects, the description covers merge behavior, field-reset hazards, lock limits, and reversibility. With an output schema present, no return-value explanation is needed, and nothing an agent must know to call this safely is missing.

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 description genuinely adds semantics the schema lacks: it discloses that omitted top-level fields are reset rather than preserved, and that lifecycle may be implicitly changed by content.implementation_status. The lock parameter explanation largely duplicates the schema's own lock description, which caps this at 4.

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?

Opens with a specific verb and resource ("Update a requirement") and immediately disambiguates it from the sibling patch tool ("Prefer requirements_patch for partial edits"), so an agent can pick the right one without opening either schema. The distinction between PUT-style full replacement and key-merge semantics is stated explicitly rather than implied.

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?

Gives an explicit alternative with a selecting condition (partial edits → requirements_patch), and spells out the put-or-preserve rule for omitted fields (from_description, subsystem_id, source_story_ids, source_requirement_ids). It also states the lock preconditions for calling at all, which is exactly the guidance an agent needs before invoking a write tool.

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