Skip to main content
Glama

get_coverage_matrix

Generate a coverage matrix showing spec-to-test relationships, identifying untested specs and orphan tests. Filter results by minimum test count and orphan inclusion.

Instructions

Snapshot of every spec ↔ test link recorded in the local index. Returns both structured rows and a ready-to-paste markdown table — call this when a user asks 'what's tested' or 'which specs have no tests'. Filters: min_tests (default 0; set to 0 to find untested specs, set to 1 to hide them) and include_orphans (default true). Returns {specs_total, specs_shown, specs_untested, orphan_count, rows[], markdown}.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
min_testsNo
include_orphansNo
Behavior4/5

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

With no annotations, the description implies a read-only operation via 'snapshot' and describes the return shape. It does not mention destructive behavior or permissions, but the provided information is sufficient for an agent to understand the tool's safety profile.

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?

The description is concise, front-loaded with the core purpose, then provides usage triggers, parameter details, and return structure in a logical order. Every sentence adds value with no redundancy.

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 lack of annotations and output schema, the description provides a complete picture: purpose, usage triggers, parameter semantics, and return structure. An agent has all necessary information to correctly select and invoke this tool.

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

Parameters5/5

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

Despite 0% schema description coverage, the description fully explains both parameter defaults and effects: min_tests (set to 0 to find untested specs, set to 1 to hide them) and include_orphans (default true). This adds significant meaning beyond the plain schema.

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 description clearly states it returns a snapshot of spec-test links, with both structured rows and a markdown table. It specifies the exact user queries it addresses ('what's tested' or 'which specs have no tests'), distinguishing it from sibling tools like get_drift_report or get_spec_context.

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 explicitly tells when to call the tool (when a user asks about testing coverage), but does not mention when not to use it or alternatives. It is clear but lacks explicit 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/kao273183/mk-spec-master'

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