Skip to main content
Glama
ijanzz5621

Continuous Code Guardian

by ijanzz5621

ca-testit

Packages single-file test context and gap scorecard to guide unit-test authoring, then verifies tests with ran/skipped reporting and one fix round.

Instructions

Fast single-file context pack for unit-test authoring + gap scorecard.

Packages redacted excerpt, tests_root / suggested_test_path, run_hints, and ranked
test_gap_scorecard (severity + theme; invented_metrics always false). Agent writes
tests under tests/ (merge/append an existing non-empty related suite unless focus
requests rewrite), then verifies with explicit ran/skipped reporting and at most one
fix round on listed test paths only — never edits production. Missing runner → skipped
+ hints (no pause-resume). Coverage focus or local uncovered evidence can recommend
ca-coverit. MCP does not write
files, call an LLM, or run tests. Accepts UTF-8 text source via the open language
matrix; Dart projects receive Flutter-aware guidance.
analyzer_mode: none (default, fast heuristic scorecard) | lint (quick) | all (full suite).

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?

Since no annotations are provided, the description fully discloses behavioral traits: 'MCP does not write files, call an LLM, or run tests.' It specifies that the agent should merge/append existing test suites unless focus requests rewrite, and that missing runner results in skipped+hints. It limits fix rounds to one and only on listed test paths, and explicitly states 'never edits production.' This is comprehensive and exceeds what annotations would typically provide.

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 a single dense paragraph that front-loads the purpose and then covers details in a logical flow. Although it is somewhat lengthy, every sentence adds value. Minor improvement could be breaking into bullet points or structured sections for clarity, but it remains effective and not unnecessarily verbose.

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?

Given the tool's complexity (unit test authoring with gap analysis, multiple analyzer modes, and no output schema or annotations), the description provides complete context. It explains the output format (ranked test_gap_scorecard), instructions for the agent (merge/append, verification steps, fix rounds), and even mentions Dart-specific guidance. The recommendation for ca-coverit adds completeness for related workflows.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must add meaning. It explains the 'analyzer_mode' parameter with three clear options and their effects: 'none (default, fast heuristic scorecard) | lint (quick) | all (full suite).' For 'path' and 'focus', it hints at their roles via context (tests_root, merge/append vs rewrite). 'workspace_root' is not explained, but overall the description significantly compensates for the lack of schema descriptions.

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?

The first sentence clearly states the tool's purpose: 'Fast single-file context pack for unit-test authoring + gap scorecard.' It then details the specific outputs (redacted excerpt, tests_root, run_hints, test_gap_scorecard), making the function unambiguous. The mention of ca-coverit as an alternative provides implicit sibling differentiation.

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?

The description gives explicit context for when to use this tool: for unit test authoring with gap analysis. It recommends ca-coverit for coverage-related tasks, providing an alternative. However, it does not explicitly state when not to use this tool or list all scenarios that would favor a different sibling tool.

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