Skip to main content
Glama

Entalpa Requirements MCP

Interface Contracts Update

interface_contracts_update

Update an interface contract. Content merges by key: send only changed content keys, using arrays for metadata, to preserve existing scalar/list values. PUT requires endpoints, interface_type and description_payload; an omitted lock stays unchanged. Prefer interface_contracts_patch for partial edits. 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>",
      "interface_contract": "<interface_contract>",
      "interface_contract_id": "<interface_contract_id>"
    },
    "name": "interface_contracts_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYesProject UUID (database id).
interface_contractYesInterface contract fields.
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 / interface_contract / 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 / interface_contract / 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 / interface_contract / 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 / interface_contract / 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 / interface_contract / 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.9/5.0
Behavior5/5

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

Annotations only declare readOnlyHint=false and destructiveHint=false; the description goes well beyond them by disclosing merge-by-key semantics, array-only metadata values, the PUT-required field set, and the lock lifecycle (locked rows reject interface type, payload, wording and deletion until a human unlocks in Entalpa, while endpoints and implementation fields stay writable). It also clarifies that lock:false is silently ignored, which is a genuinely non-obvious behavior.

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 and dense with useful detail, but the lock story is told twice — once as "an omitted lock stays unchanged" plus the locked-record paragraph, and again as "lock: true locks the row; lock: false is ignored... only a person unlocks, in Entalpa." Trimming the second restatement would tighten it without losing 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 mutation tool with nested objects, full schema coverage, annotations and an output schema, the description covers everything an agent needs: required fields, merge behavior, lock constraints, and the sibling alternative. Nothing material is left to inference.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is already 100%, yet the description still adds meaning the schema cannot: that content merges per key so only changed keys should be sent, that arrays are required for metadata, and that lock:false has no effect. These are the semantics most likely to cause a malformed call.

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+resource ("Update an interface contract") and immediately contrasts itself with the sibling interface_contracts_patch, so an agent can pick between them without opening either 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?

Explicitly routes partial edits to interface_contracts_patch, states what a PUT requires, and explains that an omitted lock is a no-op. It also defines the locked-record case and what remains writable, which is exactly the decision an agent needs before calling.

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