Skip to main content
Glama

Entalpa Requirements MCP

Interface Contracts Patch

interface_contracts_patch

Patch an interface contract. A locked interface contract refuses changes to its interface type, payload and wording, and deletion, until a person unlocks it in Entalpa; its endpoints 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.

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>",
      "interface_contract_id": "<interface_contract_id>"
    },
    "name": "interface_contracts_patch"
  }
}

Input Schema

NameRequiredDescriptionDefault
patchYesInterface contract fields to patch.
project_idYesProject UUID (database id).
interface_contract_idYesInterface contract UUID (database id).

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.
contentYesFree-form interface contract metadata returned by the server. Raw interface contract content need not contain a requirement id or statement; its values may be strings or lists of strings.
human_idYesGenerated interface requirement identifier, for example REQ-INT-001.
project_idYesProject UUID (database id).
interface_typeYesInterface type. Supported values: DATA, TRIGGER, STATE.
description_payloadYesPayload, event, or state condition that crosses the interface.
source_subsystem_idYesSubsystem UUID (database id).
target_subsystem_idYesSubsystem UUID (database id).
interface_contract_idYesInterface contract UUID (database id).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 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."
    • 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."
  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: -[
      -  "interface_contract_id",
      -  "project_id",
      -  "human_id",
      -  "source_subsystem_id",
      -  "target_subsystem_id",
      -  "interface_type",
      -  "description_payload",
      -  "content",
      -  "flags",
      -  "lock"
      -]New value: +[
      +  "interface_contract_id",
      +  "project_id",
      +  "human_id",
      +  "source_subsystem_id",
      +  "target_subsystem_id",
      +  "interface_type",
      +  "description_payload",
      +  "content",
      +  "labels",
      +  "lock"
      +]
  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. Changed2 schema fields changed
    • 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."
    • 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.3/5.0
Behavior5/5

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

Annotations only declare non-readOnly, non-destructive, closed-world; the description adds the substantive rules the annotations omit — which fields lock freezes (interface_type, payload, wording, deletion), which fields remain writable while locked, and that lock:false is a no-op because unlocking happens by a person in Entalpa. It also notes labels_assign still works on a locked row, which prevents a wrong routing decision.

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?

Single front-loaded sentence that opens with the verb and then enumerates the lock rules; no filler or restatement of the title. It is dense and slightly winding — the 'can still be written' clause takes a re-read — but every clause carries constraint information.

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 3-parameter, nested-patch mutation tool with an output schema, the description supplies exactly the missing piece: the lock/immutability model. Return values are covered by the output schema and field-level meanings by the schema descriptions, so nothing an agent needs to invoke this correctly is absent.

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 schema already documents all three parameters and the nested patch fields; the baseline would be 3. The description goes further by explaining the runtime effect of the lock flag and the field-level writability of a locked row, which is meaning not carried by the schema (the schema in fact says interface_type and payload keys are always ignored, slightly narrower than the description's lock-framing).

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?

States a specific verb and resource ('Patch an interface contract') and immediately scopes it with locking semantics, so an agent knows this is a partial-edit operation on an existing contract. It does not explicitly contrast itself with the sibling interface_contracts_update, so the patch-vs-update distinction must be inferred from the name and the required 'patch' object.

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 conditional guidance: a locked contract refuses changes to interface type, payload, wording and deletion until a person unlocks it in Entalpa, while endpoints and implementation progress fields remain writable. That tells the agent when an edit will succeed or silently fail. It falls short of naming interface_contracts_update or interface_contracts_get as the alternative path.

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