Skip to main content
Glama

specprism_compute_delta

Read-onlyIdempotent

Computes Stage 5 requirement deltas between baseSpec and targetSpec and classifies test cases as regression_shield, requires_update, new_test_required, or obsolete. Read-only, side-effect free.

Instructions

Compute deterministic Stage 5 ADDED, MODIFIED, and REMOVED requirement deltas (DLT-) between baseSpec and targetSpec, classifying every TC- test case as regression_shield, requires_update, new_test_required, or obsolete. Read-only and side-effect free.

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": {
      "baseSpec": "<baseSpec>",
      "targetSpec": "<targetSpec>"
    },
    "name": "specprism_compute_delta"
  }
}

Input Schema

NameRequiredDescriptionDefault
baseSpecYesBaseline SpecIterationDocument JSON (e.g. v1).
targetSpecYesUpdated SpecIterationDocument JSON (e.g. v2).
changePromptNoOptional human summary of why the specification evolved.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

The annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint=false, so the closing 'Read-only and side-effect free' is largely redundant. What does add value is the disclosure that the computation is deterministic and the enumeration of the four classification buckets (regression_shield, requires_update, new_test_required, obsolete), which tells the agent exactly what behavior to expect from the analysis.

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?

Two sentences, front-loaded with the operation and its scope, then closing with the safety guarantee. Every clause contributes specific information (stage, delta types, input pairing, output classification) with no filler or restated title text.

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 must at least signal what comes back, and it does by naming the DLT-* delta categories and the four TC-* classifications. It stops short of describing the return structure (e.g., whether results are grouped by delta type or returned as a flat list), which is the only meaningful gap for a two-document comparison tool.

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 the schema already explains baseSpec, targetSpec, and changePrompt. The description reinforces the base/target relationship but adds no syntax, format, or constraint detail beyond that, and it never mentions the optional changePrompt parameter at all. Baseline 3 is appropriate given the schema carries the semantic load.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb and resource ('Compute deterministic Stage 5 ADDED, MODIFIED, and REMOVED requirement deltas') and names the exact inputs it operates over (baseSpec vs targetSpec), so the operation is unmistakable. It never explicitly contrasts itself with the six sibling tools, which keeps it just short of a 5, but the specialized DLT-*/TC-* vocabulary makes accidental confusion unlikely.

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?

Usage is only implied: 'Stage 5' hints at the pipeline position where this belongs, and 'between baseSpec and targetSpec' implies a two-version comparison workflow. There is no explicit statement of when to reach for this tool instead of specprism_verify_traceability or specprism_export_issues, and no prerequisites or exclusions are given.

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