Skip to main content
Glama

Entalpa Requirements MCP

Interface Contracts Get

interface_contracts_get
Read-onlyIdempotent

Get an interface contract by id.

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

Input Schema

NameRequiredDescriptionDefault
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. Changed1 schema field changed
    • 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. Changed3 schema fields changed
    • 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. Changed2 schema fields changed
    • 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. Changed1 schema field changed
    • 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?

The annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is fully structured. The description contributes nothing beyond that: it does not say what happens with an invalid or foreign-project id (404 vs empty), nor any auth or scope constraint.

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. It is efficient, though its brevity edges toward under-specification rather than optimal economy.

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

Completeness3/5

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

For a simple two-UUID read tool with an output schema and rich annotations, the description is minimally sufficient. Nothing critical is missing, but nothing is added either, leaving error behavior and sibling routing unaddressed.

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%, with both UUIDs documented, so the baseline is 3. The description's "by id" only loosely echoes interface_contract_id and adds no meaning for project_id or the id format.

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?

"Get an interface contract by id" states a specific verb (get) and resource (interface contract) with a clear lookup key. It does not distinguish itself from siblings such as interface_contracts_list or requirements_get, so an agent must infer the boundary from the name alone.

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 explicit when-to-use or when-not-to-use guidance. "by id" faintly implies the caller already has a UUID and should use list to find one, but the description never says this or names any alternative.

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