Skip to main content
Glama

specprism_ingest_uat

Idempotent

Ingests Vitest, Playwright, JUnit XML, or native test reports against a spec to compute release readiness, category breakdown, repair prompts, and bug tickets; optionally persists runs.

Instructions

Ingest a post-code Vitest JSON, Playwright JSON, JUnit XML string, or native test report against a SpecIterationDocument (or cloud projectId). Computes Release Readiness %, Category Breakdown (Happy Path vs Negative Edge Cases vs Guardrails), a dialect-tuned Engineer Repair Prompt, and failing Bug Tickets, optionally persisting the run when projectId is authenticated.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "report": "<report>"
    },
    "name": "specprism_ingest_uat"
  }
}

Input Schema

NameRequiredDescriptionDefault
specNoSpecIterationDocument JSON defining REQ-* and TC-* mappings.
reportYesVitest JSON object, Playwright JSON object, JUnit XML string, or native { results: [...] } payload.
dialectIdNoOptional target LLM dialect ID for formatting the Engineer Repair Prompt.
projectIdNoOptional cloud project UUID to load the spec from and persist the UAT run onto.

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 cover safety (readOnlyHint=false, idempotentHint=true, destructiveHint=false, openWorldHint=false). The description adds value beyond them by disclosing the computed outputs and the conditional side effect: the run is only persisted when projectId is authenticated, which flags an auth prerequisite the annotations do not convey.

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?

A single front-loaded sentence that leads with the action and accepted inputs before listing derived outputs. It is dense and every clause contributes, though the enumeration of outputs makes it longer than strictly needed for a one-line description.

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?

With four parameters, a nested/opaque report payload, and no output schema, the description compensates by summarizing the return artifacts (readiness metric, category breakdown, repair prompt, bug tickets). It also flags the auth-gated persistence path, leaving only minor gaps such as error behavior on unparseable reports.

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 coverage is 100%, so the burden is already carried by the schema, which documents spec, report, dialectId, and projectId. The description restates the formats and the spec-vs-projectId alternative but adds no syntax or format detail beyond what the schema says, so baseline 3 applies.

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 ('Ingest') and resource (post-code test report) and enumerates the accepted formats (Vitest JSON, Playwright JSON, JUnit XML, native payload) plus the target spec source. It also names the concrete artifacts produced (Release Readiness %, Category Breakdown, Repair Prompt, Bug Tickets), so an agent can distinguish it from siblings like specprism_compute_delta or specprism_verify_traceability without opening a schema.

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 'post-code' qualifier establishes the lifecycle phase for use, and the description makes clear what must be supplied (a report plus either a SpecIterationDocument or an authenticated projectId). It gives no explicit when-not-to-use or sibling routing, so it stops short of a 5.

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