Skip to main content
Glama
medhakara

spec-to-delivery

by medhakara

traceability_matrix

Build a requirement-to-scenario traceability matrix to reveal coverage gaps. Returns per-requirement coverage, uncovered IDs, orphan scenarios, unknown IDs, coverage percentage, and a Markdown table.

Instructions

Build a requirement-to-scenario traceability matrix. Returns per-requirement coverage, uncovered requirement IDs, orphan scenarios, unknown IDs, a coverage percentage, and a ready-to-paste Markdown table.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
featuresYes
requirementsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.8/5.0
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It discloses output contents but does not explain input expectations, side effects (likely none, but not stated), error handling, or the meaning of terms like 'unknown IDs' and 'orphan scenarios'. It also doesn't state whether the tool is read-only or modifies anything.

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 sentence that is front-loaded with the main purpose and lists outputs. It is efficient with no filler. However, it could be more structured by separating the purpose from the output list, but overall it is appropriately concise.

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

Completeness2/5

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

For a tool with nested object parameters and no output schema, the description is incomplete. It explains what the tool returns but not how to provide inputs, what constraints apply (e.g., ID formats, matching requirements to scenarios), or any prerequisites. An agent would struggle to know what to pass in, making the tool difficult to invoke correctly.

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

Parameters1/5

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

The schema has zero descriptions for the top-level parameters 'requirements' and 'features' (coverage 0%), and the description does not compensate. It doesn't explain what these parameters represent, how they relate to each other, or what data format is expected. The description only focuses on outputs, leaving input semantics entirely undefined.

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 the tool's function: 'Build a requirement-to-scenario traceability matrix.' It also lists the specific outputs (coverage, uncovered IDs, orphan scenarios, unknown IDs, percentage, Markdown table), which further clarifies what the tool produces. This distinguishes it from sibling tools like parse_requirements and diff_requirements, which focus on parsing and comparing.

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

Usage Guidelines2/5

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

No guidance is provided on when to use this tool versus the siblings (parse_requirements, diff_requirements, parse_scenarios). There is no mention of prerequisites (e.g., needing parsed requirement or scenario data) or situations where this tool is appropriate. The context is implied by the purpose but not explicitly stated.

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