Skip to main content
Glama

cs_verify

Audits generated Contentstack app projects for structural, Venus compliance, security, and consistency issues, returning fix instructions to repeat verification until all checks pass.

Instructions

Step 8 of the create workflow. Post-generation verification. Audits the scaffolded project for structural, Venus compliance, security, and consistency issues. Call after writing all files. Repeat until passed=true. Input: { project_path: string } Output: { passed: boolean, checks: CheckResult[], fix_instructions: string[] } If passed is false, fix each issue in fix_instructions and call cs_verify again.

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_path": "<project_path>"
    },
    "name": "cs_verify"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_pathYesAbsolute path to the generated project root directory.

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?

No annotations are supplied, so the description carries the full burden, and it delivers the inline output contract, the failure loop, and the fact that the tool emits fix_instructions rather than fixing things itself. It does not state whether the audit is strictly read-only or whether it touches files, nor any cost/timeout characteristics of a full project scan.

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 the workflow position, then purpose, then Input/Output blocks and the retry rule; short and scannable. Minor redundancy between 'Post-generation verification' and the audit sentence, but nothing that wastes real space.

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?

Although no output schema exists, the description inlines the return shape (passed, checks, fix_instructions) and explains the control flow around it. For a single-parameter verification step, an agent has everything needed to call it and interpret the result.

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?

Only one parameter, and the schema already documents project_path as an absolute path to the project root at 100% coverage. The description's 'Input: { project_path: string }' line restates the schema rather than adding constraint or format meaning, so the schema is doing all the work.

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 resource ('Post-generation verification. Audits the scaffolded project') and enumerates the audit dimensions: structural, Venus compliance, security, consistency. Positioning it as 'Step 8 of the create workflow' lets an agent place it precisely relative to cs_scaffold and cs_preflight 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?

Explicit temporal guidance ('Call after writing all files') plus an explicit retry contract ('Repeat until passed=true' and 'If passed is false, fix each issue in fix_instructions and call cs_verify again'). The when-to-call and what-to-do-next conditions are both fully specified.

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