Skip to main content
Glama
deep-agentic-core-mcp

deep-agentic-core-mcp

Official

Unified Run Comparison

core.compare_runs
Destructive

Compare baseline and candidate trace runs to detect regressions and store the comparison for release checks.

Instructions

Compare baseline and candidate trace runs for regressions, storing the comparison for core.release_check. Same behavior as lens.compare_runs.

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": "core.compare_runs"
  }
}

Input Schema

NameRequiredDescriptionDefault
baselineNo
candidateNo
session_idNoSession to read/write shared state under. Defaults to 'default'.
regression_thresholdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.3.14

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false and destructiveHint=true, so the description gets credit for corroborating and explaining persistence: the comparison is stored as shared state under session_id. It does not, however, explain what the destructive hint covers — whether a prior stored comparison is overwritten, whether runs are mutated, or what happens if session state already exists — leaving the highest-risk label unexplained.

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 short sentences, front-loaded with the core action and side effect, with the lens equivalence appended as a secondary note. No filler or redundancy.

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

Completeness3/5

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

For a destructive, state-writing tool with no output schema and low parameter coverage, the definition should describe what is returned (a comparison/regression report?) and the risk of overwriting stored state. It covers the workflow linkage well but leaves the return shape and destructive behavior underspecified.

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 only 25%, so the schema itself documents little beyond session_id. The description partially compensates by identifying baseline and candidate as trace runs and by implying that regression_threshold governs regression detection, but it provides no format details for the trace-run objects or the threshold's units/default, so two of the four parameters remain semantically thin.

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?

States a specific verb and resource ('Compare baseline and candidate trace runs for regressions') plus a persistence side effect and its downstream consumer (core.release_check). It also declares behavioral equivalence with lens.compare_runs, which helps distinguish the pair, though it never explains why two identical tools exist.

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 mention of 'storing the comparison for core.release_check' implies the tool is meant to feed a release-check workflow, which is useful implicit context. However, there is no explicit when-to-use statement, no exclusion, and no guidance on choosing between this and lens.compare_runs despite naming it.

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