Skip to main content
Glama

cs_plan

Validates an app specification and returns a confirmation prompt, enabling user review and approval before manifest generation.

Instructions

Step 4 of the create workflow. Stateless confirmation gate — validates spec and returns a confirmation_prompt. Call after cs_preflight. Show confirmation_prompt to user and WAIT for approval before proceeding to cs_manifest. Input: { spec: object } Output: { success, confirmation_prompt, security_tier, warnings }

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

Input Schema

NameRequiredDescriptionDefault
specYesStructured app specification. LLM must read cs://locations and cs://security first to draft this.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does well: it discloses that the tool is 'stateless' (no persisted side effects), that it validates rather than creates, and that a human approval gate is required before cs_manifest. It does not say what happens when validation fails or the user declines, leaving the failure path implicit.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with workflow position and the core gate semantics, then Input/Output lines. Every sentence is actionable; the Output line earns its place because no output schema exists.

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?

For a stateless gate with no annotations and no output schema, the description supplies the return fields (success, confirmation_prompt, security_tier, warnings) and the human-approval protocol. The remaining gap is failure/decline handling and whether warnings are blocking.

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 schema already explains that spec is a structured app specification requiring cs://locations and cs://security to be read first. The description's 'Input: { spec: object }' merely restates the schema without adding drafting guidance, so the baseline 3 applies.

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 action (validates the spec and returns a confirmation_prompt) and pins its position as 'Step 4 of the create workflow.' Naming cs_preflight as the predecessor and cs_manifest as the successor lets an agent place it precisely among siblings without opening any schema.

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

Usage Guidelines5/5

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

Gives explicit ordering ('Call after cs_preflight'), an explicit follow-up ('before proceeding to cs_manifest'), and a mandatory interaction rule: show confirmation_prompt to the user and WAIT for approval. An agent knows both when to call it and what to do with the result.

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