Skip to main content
Glama

cs_manifest

Generates a Developer Hub-format manifest.json from an approved app spec, turning the plan into a file ready for Contentstack Marketplace app workflows.

Instructions

Step 5 of the create workflow. Generates manifest.json in Developer Hub format from a spec. Call after user approves cs_plan output. Read cs://manifest for format reference. Input: { spec: object, base_url?: string } Output: { manifest: object } — write as manifest.json

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": {
      "spec": "<spec>"
    },
    "name": "cs_manifest"
  }
}

Input Schema

NameRequiredDescriptionDefault
specYesStructured app specification (same object passed to cs_plan).
base_urlNoApp base URL (default: http://localhost:3000)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does fairly well: it discloses that the tool returns an object rather than persisting anything ('Output: { manifest: object } — write as manifest.json'), which tells the agent it owns the write step. It omits any mention of validation failures, overwrite behavior, or what happens if the spec is incomplete.

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 with workflow position and purpose, then the action, then shape — good ordering. The Input/Output lines partially duplicate structured fields, which is mild redundancy but serves as a compact contract reminder.

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?

No output schema exists, and the description compensates by naming the return key and the file to produce, plus pointing to cs://manifest for format details — appropriate delegation for a nested, format-heavy object. The internal structure of the nested spec object remains opaque, though it is cross-referenced to cs_plan.

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%, so both parameters are already documented, including the cross-reference of spec to cs_plan. The description's 'Input: { spec, base_url? }' line only restates the schema without adding format, constraints, or the meaning of base_url in the manifest.

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 artifact ('Generates manifest.json in Developer Hub format from a spec') and pins its position in the workflow ('Step 5 of the create workflow'), which distinguishes it from siblings like cs_plan and cs_scaffold without reference to their schemas.

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 precondition — 'Call after user approves cs_plan output' — which is exactly the routing information an agent needs in a multi-step pipeline. No when-not-to-use or failure-path guidance is given, but the sequencing is unambiguous.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.