Skip to main content
Glama

Entalpa Requirements MCP

Projects Fold Speckit Features

projects_fold_speckit_features

After projects_import_speckit: fold the imported Spec Kit features into one backlog, oldest first. Later features revise the stories they change instead of adding copies, requirements are linked to their stories, engineering-only features are left out, and possible replacements become open questions. Uses AI, spends credits, and saves each feature as it is folded; run again to resume. The whole fold is one step in the project's undo history, which projects_undo steps back through.

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_fold_speckit_features"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYesProject UUID (database id).
max_featuresNoFold at most this many features now (1 to 300); the rest on the next call.

Output Schema

NameRequiredDescriptionDefault
featuresYes
remainingYesFeatures not folded yet.
stakeholders_createdNoStakeholders added from the actors of the folded stories.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Adds substantial context beyond annotations: the call uses AI and spends credits, work is checkpointed per feature so an interrupted fold can be resumed, and the entire fold collapses into one undo step reachable via projects_undo. Missing only details like whether credits are charged per feature or how a resumed fold interacts with a subsequent re-import.

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?

One dense but front-loaded sentence: the trigger condition comes first, then the transformation rules, then the operational caveats (credits, resumability, undo). Every clause carries information, though the middle sequence of behavioral rules is packed tightly enough that the credit warning is easy to miss.

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?

Complete for a stateful AI-powered mutation tool: prerequisite, cost, resumability, undo semantics, and the transformation rules are all covered, and an output schema exists so return values need not be described in prose.

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 100% so the parameters are already documented, and the description still adds real meaning about max_features by explaining that folding is incremental and stateful ("saves each feature as it is folded; run again to resume"), telling the agent that a partial fold is safe and continuable.

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?

States a specific verb and object: folding imported Spec Kit features into one backlog, and anchors it in the workflow sequence ("After projects_import_speckit"). The following clauses describe the merge semantics (later features revise stories, requirements linked, engineering-only features dropped), which distinguishes it from siblings like projects_align_requirements_to_stories or projects_import_speckit.

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 an explicit prerequisite ("After projects_import_speckit") and re-invocation guidance ("run again to resume"), plus "projects_undo steps back through" tells the agent how to reverse it. It does not name when to prefer an alternative sibling, but the ordering constraint is a strong, actionable condition.

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