Skip to main content
Glama

Delimit Test Coverage

delimit_test_coverage
Read-onlyIdempotent

Check test coverage against a threshold to get a pass/fail signal for CI. Analyzes file/folder coverage in a project read-only.

Instructions

Analyze test coverage for a project (experimental) (Pro).

When to use: to surface coverage by file/folder against a threshold when you need a pass/fail signal for CI. When NOT to use: to scaffold new test stubs (use delimit_test_generate) or run a smoke run (delimit_test_smoke).

Sibling contrast: delimit_test_smoke validates that tests run at all; delimit_test_generate writes test scaffolds; this measures coverage of existing tests.

Side effects: read-only inspection. Gated by require_premium. Calls backends.ui_bridge.test_coverage. Marked experimental — coverage runner detection is heuristic.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
thresholdNoCoverage percentage threshold for pass/fail. Default 80.
project_pathYesPath to the project root. Required.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed2 schema fields changedv4.7.9
    • changedInput schema / properties / project_path / description
      Previous value: -"Project path."New value: +"Path to the project root. Required."
    • changedInput schema / properties / threshold / description
      Previous value: -"Coverage threshold percentage."New value: +"Coverage percentage threshold for pass/fail. Default 80."
  2. Addedv4.5.5

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint, lowering the bar. The description adds genuinely useful context beyond that: gated by require_premium (a key failure mode), experimental status, and the heuristic nature of coverage-runner detection. The 'Side effects: read-only inspection' line is redundant with the annotation, but the premium gating and reliability caveat earn the score.

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?

Well-organized with labeled sections (when to use, when not to use, sibling contrast, side effects), front-loaded with the core function in the first sentence. Each section earns its place; the experimental and premium-gating disclosures justify the length. Only minor redundancy is the read-only line repeating the annotation.

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?

Complete for a 2-parameter tool with an output schema and safety annotations. Covers purpose, selection criteria, exclusions, sibling alternatives, side effects, premium gating, backend call, and an experimental/heuristic caveat. The output schema covers return values, so the description needn't explain them.

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%, so both parameters (project_path, threshold) are already documented with descriptions and the threshold has a default. The description mentions 'against a threshold' and pass/fail semantics, echoing the schema rather than adding new parameter-level detail. Baseline 3 is correct when the schema carries the full weight.

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?

Opens with a specific verb+resource ('Analyze test coverage for a project') and then sharpens the scope: surfaces coverage by file/folder against a threshold and produces a pass/fail signal for CI. The sibling contrast explicitly distinguishes it from delimit_test_smoke and delimit_test_generate, so an agent can tell them apart without opening schemas.

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?

Provides explicit 'When to use' and 'When NOT to use' sections with named alternatives (delimit_test_generate for stubs, delimit_test_smoke for smoke runs), plus a sibling-contrast paragraph explaining exactly how each sibling differs. Nothing is left to inference.

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/delimit-ai/delimit-mcp-server'

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