Skip to main content
Glama
ijanzz5621

Continuous Code Guardian

by ijanzz5621

ca-docit

Generates a structured markdown context pack for a code file, including outline, API surface extract, and documentation drift scorecard to identify stale comments.

Instructions

Fast single-file context pack for structured companion markdown (outline + API extract + drift scorecard). Default skips heavy analyzers.

focus: optional free-form additional requests (markdown emphasis within
canonical H2s, scope, what to skip). Echoed (redacted) in the pack.
Trailing text after /ca-docit becomes focus.

Returns suggested_markdown_path (docs/ + CAPITAL basename), markdown_exists,
existing_markdown_excerpt, outline_contract (exact H2s), api_surface_extract
(public/exported only), doc_drift_scorecard (ranked staleness), invented_metrics
always false. Agent writes/reconciles companion .md or reports in sync and
skips churny rewrite; does not edit source comments. MCP does not write files
or call an LLM.
analyzer_mode: none (default, instant) | lint (quick) | all (full suite, slow).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathNo
focusNo
analyzer_modeNo
workspace_rootNo
Behavior5/5

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

Thoroughly discloses return fields, that invented_metrics is always false, that MCP does not write files or call LLM, and how focus parameter works (trailing text). No annotations provided, so description carries full burden and meets it.

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 key purpose, uses bullet-style listing for clarity. Slightly verbose but each sentence adds value. Could be more streamlined.

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?

Covers return values in detail without output schema, describes main behaviors. Missing parameter explanations for path and workspace_root, but overall fairly complete for a tool with no annotations.

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?

Describes 'focus' and 'analyzer_mode' with details, but 'path' and 'workspace_root' are not explained. Schema coverage is 0%, so description must compensate but is incomplete.

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?

Description clearly states it produces a 'single-file context pack for structured companion markdown' with specific outputs (outline, API extract, drift scorecard). Distinguishes from sibling ca-* tools by specifying its unique purpose and default behavior.

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?

Provides guidance on when to use ('fast', 'default skips heavy analyzers'), analyzer_mode options, and instructions for the agent. Lacks explicit exclusion of alternatives but context is clear enough.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ijanzz5621/mcp-code-guardian'

If you have feedback or need assistance with the MCP directory API, please join our Discord server