Skip to main content
Glama

specprism_verify_traceability

Read-onlyIdempotent

Audits spec.json or a synced project read-only for vertical story touchpoints, EARS SHALL clauses, and orphan-free REQ-to-TC coverage, returning a pass/fail report with actionable violations.

Instructions

Audit a SpecPrism spec.json document (or synced cloud projectId) read-only for vertical story touchpoints (entrySurface, domainLogic, persistenceOrExternal), canonical EARS SHALL clauses, and zero-orphan REQ-to-TC test coverage. Returns a deterministic pass/fail report with actionable violation messages.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "specprism_verify_traceability"
  }
}

Input Schema

NameRequiredDescriptionDefault
specNoFull SpecIterationDocument JSON object to audit locally.
projectIdNoOptional synced cloud project UUID when loading the specification from SpecPrism.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so safety is covered structurally. The description still adds meaningful behavior beyond that: it is a pure audit, it returns a deterministic pass/fail verdict, and violations come back as actionable messages — that determinism and reporting shape is not in the annotations.

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?

Two tight sentences, front-loaded with the verb and target, then the concrete check list, then the return shape. Dense domain jargon (EARS SHALL, REQ-to-TC, touchpoints) but no filler; slightly overpacked for a single sentence's worth of clause lists.

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

Completeness4/5

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

There is no output schema, so the description correctly compensates by describing the return value (deterministic pass/fail report with actionable violation messages). It covers both input modes and the full scope of checks; the only gap is what happens when neither or both of the optional parameters are supplied.

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 coverage is 100%, so both parameters are documented and a baseline of 3 would hold. The description nonetheless adds selection semantics the schema lacks by framing them as '(or)': either a local full SpecIterationDocument or a synced cloud projectId, which hints at an either/or choice the schema does not state (it never says whether both may be passed or which wins).

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?

States a specific verb (audit/verify) and resource (a SpecPrism spec.json document or synced projectId), and enumerates exactly what is checked: vertical story touchpoints (entrySurface, domainLogic, persistenceOrExternal), canonical EARS SHALL clauses, and REQ-to-TC coverage. An agent can tell this is a validation tool, distinct from siblings like compute_delta or compile_dialect, without opening the schema.

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 implies the tool is used to audit a specification before it is trusted, and clarifies the two input modes (local document vs synced cloud project). However, it never states when to prefer this over other verification-ish siblings, nor any prerequisites such as 'spec must already be compiled' or what to do on failure.

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