Skip to main content
Glama
ijanzz5621

Continuous Code Guardian

by ijanzz5621

ca-commentit

Generate scorecard-guided in-source comments. Identifies gaps and applies targeted comment edits without rewriting logic or writing companion files.

Instructions

Fast single-file context pack for scorecard-guided in-source comment authoring. Default skips heavy analyzers.

focus: optional free-form additional requests (scope, comment style, what to skip).
Echoed (redacted) in the pack for the Cursor agent. Trailing text after /ca-commentit
becomes focus.

Returns comment_scorecard (ranked gaps; invented_metrics always false) and
apply_policy (comments-only, max_actions=10, no blanket refresh). Agent plans
targeted comment edits, asks Proceed when the list is non-empty, and applies
in-source comments only — does not write companion markdown or rewrite logic.
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
Behavior4/5

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

Despite no annotations, the description explicitly states 'MCP does not write files or call an LLM,' clarifies the agent's role (plans edits, asks Proceed), and specifies output structure. It is transparent about limitations (in-source only, no markdown).

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?

The description is longer than necessary but every sentence adds value: purpose, parameters, behavior, and workflow. It is front-loaded with the core purpose and structured logically.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given no output schema, the description adequately explains return values (comment_scorecard, apply_policy) and the agent workflow. However, it lacks detail on parameters 'path' and 'workspace_root', leaving some ambiguity for a tool with 4 parameters and 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?

Schema coverage is 0%, so description must compensate. It explains 'focus' (trailing text echoed) and 'analyzer_mode' (none, lint, all). However, 'path' and 'workspace_root' are only implied by 'single-file' context and not described in detail.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states it is for 'scorecard-guided in-source comment authoring' with specific outputs (comment_scorecard, apply_policy). While it doesn't explicitly differentiate from siblings, the purpose is specific and actionable.

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

Usage Guidelines3/5

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

The description mentions analyzer modes and default skip of heavy analyzers, providing implicit usage context. However, it does not explicitly state when to use this tool over siblings like ca-docit or ca-checkit, nor does it list exclusions.

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