Skip to main content
Glama

compare_runs

Read-only

Compare two stored verification runs by UUID to identify differences in plans, results, and evidence. Use it to track regressions or confirm changes between previous and current runs.

Instructions

Compare two stored runs

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": {
      "previous": "<previous>",
      "current": "<current>"
    },
    "name": "compare_runs"
  }
}

Input Schema

NameRequiredDescriptionDefault
currentYes
previousYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.4/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered by structured data. The description adds only the mild implication that runs are persisted artifacts; it says nothing about ordering semantics (which run is the baseline), cost, or what happens when the runs are from different projects.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The phrase is front-loaded and free of filler, but at four words it is terse to the point of under-specification rather than genuinely concise. There is no wasted wording, yet no sentence earns extra value either.

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?

With no output schema, the description should convey what a comparison yields — a diff of check results, metric deltas, or a boolean — and it does not. For a two-required-uuid read-only tool this leaves the agent unable to predict the response shape.

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

Parameters2/5

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

Schema description coverage is 0%, so the schema supplies only uuid format and a v4 pattern — no meaning for 'previous' versus 'current'. The description does not explain that previous is the baseline and current is the subject of the diff, which is exactly the ordering semantic an agent needs and cannot derive from the schema.

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

Purpose3/5

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

"Compare two stored runs" gives a specific verb (compare) and resource (runs), so the basic action is legible. However, it does not say what aspect is compared (metrics, checks, policies) and does not distinguish it from siblings such as get_run or get_evidence, which an agent could easily confuse with a diff operation.

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?

There is no when-to-use guidance at all: nothing says to use this instead of calling get_run twice, nor when a comparison is preferable to evaluating policies or fetching evidence. The word "stored" weakly implies the runs must already exist, but that is inference, not guidance.

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