Skip to main content
Glama

Entalpa Requirements MCP

Projects Export

projects_export
Read-onlyIdempotent

Export a project to the portable format projects_import reads. Chat is opt-in; version 4 uses typed file-local links, with pending actions removed. format: yaml returns the same export as a YAML document (with a suggested filename) for committing to a repository; it imports the same way once parsed.

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

Input Schema

NameRequiredDescriptionDefault
formatNojson (default) returns the export as structured data. yaml returns it as a YAML document, readable in a diff, for committing to a repository.
project_idYesProject UUID (database id).
include_chat_messagesNoInclude the project's chat history. Off by default, so a file meant for sharing or a repository carries no transcript.

Output Schema

NameRequiredDescriptionDefault
titleNo
formatNo
labelsNoThe project's labels, left out when it has none. Each item names those it carries in its `labels` (absent when none), and a requirement whose lifecycle an import set says where from in `lifecycle_source`. Files before schema version 5 had flags on requirements and contracts instead; import reads them as labels.
is_packNoTrue for a pack; imports as a pack. Absent on exports taken before packs.
storiesNo
documentNoThe export, rendered as YAML.
filenameNoA suggested file name.
chosen_llmNoThe model the project used. A hint: import uses it when this install offers that model, and its default otherwise.
subsystemsNo
descriptionNoThe project description. Read as design_description in files before schema version 3.
requirementsNo
stakeholdersNo
chat_messagesNoOptional transcript. In version 4, entalpa:<kind>/local/<encoded human_id> links bind only to imported entities of that kind; legacy/unresolved links stay unbound. Pending actions are stripped. Before version 3: messages.
open_questionsNo
schema_versionNo5 replaces requirement and contract flags with labels; 4 added typed file-local chat references remapped to fresh UUIDs on import. Earlier versions remain readable; ordinary document relationships retain human IDs.
acceptance_styleNoHow acceptance criteria are written: free text, gherkin (Given/When/Then, one step per line, scenarios separated by a blank line) or ears (one per line: When <trigger>, the <system> shall <response>). AI actions write new criteria in it and leave existing ones as they are; write content.acceptance in it too.
assessment_scoreNoThe Spec score, 0 to 100, as the last assessment stored it.
assessment_detailsNoThe Spec score in words, as the last assessment stored it.
interface_contractsNo
spec_score_settingsNoHow the project weighs its Spec score, where it changed the defaults: {weights: {D2..D7: 0 to 100}, relevance: {ISO 25010 characteristic: {relevance: 0, 1 or 2, reason}}}, as projects_spec_score_settings takes them. Absent: the defaults.
extra_requirement_attributesNoThe requirement attributes this project generates. Absent when the project never chose a list, which is not the same as choosing an empty one: absent shows every content field, [] shows only the core ones.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • addedOutput schema / properties / acceptance_style
      Added value: +{
      +  "description": "How acceptance criteria are written: free text, gherkin (Given/When/Then, one step per line, scenarios separated by a blank line) or ears (one per line: When <trigger>, the <system> shall <response>). AI actions write new criteria in it and leave existing ones as they are; write content.acceptance in it too.",
      +  "enum": [
      +    "free",
      +    "gherkin",
      +    "ears"
      +  ],
      +  "type": "string"
      +}
    • addedOutput schema / properties / open_questions / items / properties / answer_source
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / open_questions / items / properties / audience
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / open_questions / items / properties / kind
      Added value: +{
      +  "type": "string"
      +}
    • changedOutput schema / properties / open_questions / items / properties / resulting_story_id / description
      Previous value: -"Human id of the story its answer was converted into."New value: +"Story made from its answer."
    • changedOutput schema / properties / open_questions / items / properties / story_id / description
      Previous value: -"Human id of the story the question was raised about."New value: +"Story it was asked about."
  2. Changed11 schema fields changed
    • removedOutput schema / properties / interface_contracts / items / properties / flags
      Removed value: -{
      -  "items": {
      -    "type": "string"
      -  },
      -  "type": "array"
      -}
    • addedOutput schema / properties / interface_contracts / items / properties / labels
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / labels
      Added value: +{
      +  "description": "The project's labels, left out when it has none. Each item names those it carries in its `labels` (absent when none), and a requirement whose lifecycle an import set says where from in `lifecycle_source`. Files before schema version 5 had flags on requirements and contracts instead; import reads them as labels.",
      +  "items": {
      +    "properties": {
      +      "colour": {
      +        "description": "The label's colour, from the fixed palette.",
      +        "enum": [
      +          "gray",
      +          "red",
      +          "orange",
      +          "yellow",
      +          "green",
      +          "teal",
      +          "blue",
      +          "indigo",
      +          "purple",
      +          "pink"
      +        ],
      +        "type": "string"
      +      },
      +      "name": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "name",
      +      "colour"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / open_questions / items / properties / labels
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • removedOutput schema / properties / requirements / items / properties / flags
      Removed value: -{
      -  "items": {
      -    "type": "string"
      -  },
      -  "type": "array"
      -}
    • addedOutput schema / properties / requirements / items / properties / labels
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / requirements / items / properties / lifecycle_source
      Added value: +{
      +  "type": "string"
      +}
    • changedOutput schema / properties / schema_version / description
      Previous value: -"4 adds typed file-local chat references remapped to fresh UUIDs on import. Earlier versions remain readable; ordinary document relationships retain human IDs."New value: +"5 replaces requirement and contract flags with labels; 4 added typed file-local chat references remapped to fresh UUIDs on import. Earlier versions remain readable; ordinary document relationships retain human IDs."
    • addedOutput schema / properties / stakeholders / items / properties / labels
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / stories / items / properties / labels
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / subsystems / items / properties / labels
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
  3. Changed9 schema fields changed
    • changedOutput schema / properties / assessment_details / description
      Previous value: -"Accepted explanation of the project assessment."New value: +"The Spec score in words, as the last assessment stored it."
    • changedOutput schema / properties / assessment_score / description
      Previous value: -"Accepted project completeness assessment, from 0 to 100."New value: +"The Spec score, 0 to 100, as the last assessment stored it."
    • changedOutput schema / properties / chat_messages / items / description
      Previous value: -"One message as an ordered list of strings (typically 4 items: sender, recipient, text, ISO timestamp; length not enforced)."New value: +"One message as an ordered list of strings, usually 4: sender, recipient, text, ISO timestamp (length not enforced)."
    • addedOutput schema / properties / is_pack
      Added value: +{
      +  "description": "True for a pack; imports as a pack. Absent on exports taken before packs.",
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / open_questions / items / properties / pack_source
      Added value: +{
      +  "properties": {
      +    "concern": {
      +      "type": "string"
      +    },
      +    "pack_title": {
      +      "type": "string"
      +    },
      +    "version_name": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    }
      +  },
      +  "required": [
      +    "pack_title",
      +    "concern"
      +  ],
      +  "type": [
      +    "object",
      +    "null"
      +  ]
      +}
    • changedOutput schema / properties / requirements / items / properties / human_id / description
      Previous value: -"The requirement's id, e.g. Req-001. Files before schema version 3 also repeat it as content.id; either is accepted on import."New value: +"The requirement's id, e.g. Req-001. Files before schema version 3 also repeat it as content.id; import takes either."
    • changedOutput schema / properties / requirements / items / properties / lifecycle / description
      Previous value: -"draft, in_review, reviewed, in_progress, implemented, verified, blocked, rejected or superseded. Absent in files written before it existed; import then reads content.implementation_status."New value: +"draft, in_review, reviewed, in_progress, implemented, verified, blocked, rejected or superseded. Absent in older files; import then reads content.implementation_status."
    • addedOutput schema / properties / spec_score_settings
      Added value: +{
      +  "description": "How the project weighs its Spec score, where it changed the defaults: {weights: {D2..D7: 0 to 100}, relevance: {ISO 25010 characteristic: {relevance: 0, 1 or 2, reason}}}, as projects_spec_score_settings takes them. Absent: the defaults.",
      +  "type": [
      +    "object",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / stories / items / properties / priority
      Added value: +{
      +  "description": "MoSCoW priority: must, should, could or won't. Left out when unset; import also reads other spellings (Must, high).",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
  4. Changed4 schema fields changed
    • addedOutput schema / properties / assessment_details
      Added value: +{
      +  "description": "Accepted explanation of the project assessment.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / assessment_score
      Added value: +{
      +  "description": "Accepted project completeness assessment, from 0 to 100.",
      +  "type": "integer"
      +}
    • addedOutput schema / properties / open_questions
      Added value: +{
      +  "items": {
      +    "properties": {
      +      "answer": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "human_id": {
      +        "type": "string"
      +      },
      +      "question": {
      +        "type": "string"
      +      },
      +      "rationale": {
      +        "type": "string"
      +      },
      +      "resulting_story_id": {
      +        "description": "Human id of the story its answer was converted into.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "status": {
      +        "description": "open, answered or dismissed.",
      +        "type": "string"
      +      },
      +      "story_id": {
      +        "description": "Human id of the story the question was raised about.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      }
      +    },
      +    "required": [
      +      "human_id",
      +      "question"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / requirements / items / properties / lifecycle
      Added value: +{
      +  "description": "draft, in_review, reviewed, in_progress, implemented, verified, blocked, rejected or superseded. Absent in files written before it existed; import then reads content.implementation_status.",
      +  "type": "string"
      +}
  5. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world behavior, so the safety profile is covered. The description adds real value beyond that by disclosing that pending actions are removed and that version 4 uses typed file-local links, i.e. the export is lossy/transformed in a specific way, and that yaml output carries a suggested filename. It stops short of describing size limits or what the pending-action removal means for round-tripping.

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?

Three sentences, front-loaded with the core verb and the round-trip framing, each carrying information. The format sentence overlaps heavily with the schema's own format description, which is the only mild redundancy.

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

Completeness4/5

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

With an output schema present, return values need no explanation, and the description covers the substantive gaps: what gets dropped (pending actions), what is opt-in (chat), and the intended use of each format. Remaining gaps (pagination/size behavior, exact file-local link semantics) are minor for a read-only export.

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% and the enum values are already documented, so the baseline is 3. The description still adds meaning the schema does not: that the yaml form is equivalent to the json export and "imports the same way once parsed," which tells the agent the two formats are semantically interchangeable rather than different exports.

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 ("Export a project") plus its target format, and names the counterpart tool projects_import, which pins down what the output is for. It does not explicitly distinguish itself from the sibling format-specific exports (openspec, speckit, srs), leaving that differentiation implicit in "portable format".

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

Usage Guidelines3/5

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

Gives clear guidance on two decisions: chat history is opt-in so shared/repository files stay transcript-free, and format: yaml is the choice when the export must be readable in a diff and committed. It never says when not to use this tool or which sibling export to pick instead, so usage is implied rather than fully routed.

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