Skip to main content
Glama

Entalpa Requirements MCP

Interface Contracts Create

interface_contracts_create

Create an interface contract between two subsystems.

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

Input Schema

NameRequiredDescriptionDefault
project_idYesProject UUID (database id).
interface_contractYesInterface contract fields.

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

C2.9/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, and openWorldHint=false, so the description is not obligated to explain the safety profile. However, it adds nothing beyond them: it does not mention that the response returns a new contract id, that the lock field can only be released by a person in Entalpa, or that certain keys are silently ignored by the server.

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?

A single front-loaded sentence with zero filler or redundancy. Its brevity is a virtue structurally, though the missing detail is penalized under other dimensions rather than here.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a create tool with a deeply nested payload (twelve content subfields, an enum-like interface_type, and lock behavior), yet the description never mentions required fields, the DATA/TRIGGER/STATE interface types, or what the call returns. An output schema exists, so return values need not be explained, but the input-side complexity is left entirely to the schema.

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% and the nested interface_contract object documents every field, including the non-obvious lock semantics and the server-ignored generated keys. The description adds no parameter meaning of its own, so the baseline 3 applies.

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 ("Create") and resource ("an interface contract") plus its relationship ("between two subsystems"), which is clear enough to distinguish it from the get/list/update/patch/delete siblings by name. It stops short of naming those siblings or clarifying edge cases like duplicate contracts between the same pair.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

There is no when-to-use guidance, no prerequisites (e.g. that subsystems must already exist), and no mention of alternatives such as interface_contracts_update or interface_contracts_patch for modifying an existing contract. The agent must infer the create-vs-update boundary entirely from the tool name.

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