Skip to main content
Glama

compare_check_runs

Read-onlyIdempotent

Compare baseline and post-fix check reports to identify resolved, remaining, added, and unverified findings, plus changes in viewport, browser, adapter hash, or checker hash.

Instructions

Compare a baseline and post-fix check report (frontend adapter, editorial or blog graph). Reports resolved, remaining, added and unverified findings and highlights any change in viewport, browser, adapterSha256 or checkerSha256.

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": {
      "before": "<before>",
      "after": "<after>"
    },
    "name": "compare_check_runs"
  }
}

Input Schema

NameRequiredDescriptionDefault
afterYes
beforeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, closed-world and non-destructive, so the safety profile is covered. The description usefully adds the output shape (resolved, remaining, added, unverified findings) and that configuration drift in viewport, browser, adapterSha256 or checkerSha256 is flagged. It does not explain how mismatched or invalid report inputs are handled.

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 core comparison and followed by the reported outcomes. Dense but every clause carries information; nothing is redundant.

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?

With no output schema, the description does its job of enumerating returned categories and the drift checks. However, for a tool taking two opaque nested objects, it omits where those reports come from and what structure is expected, leaving a meaningful gap for correct invocation.

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 0% and both parameters are free-form nested objects with no documented properties. The description partially compensates by mapping before→baseline and after→post-fix and by naming the report's origin, but an agent still has no field-level understanding of what object to pass.

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 gives a specific verb ("compare") and a specific resource (a baseline vs post-fix check report), plus the domains involved (frontend adapter, editorial or blog graph). It is clear what the tool does, though it never contrasts itself with any sibling such as check_rewrite_preservation.

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 implied by "post-fix" — this is the tool you call after applying a fix to see what changed — but there is no explicit when-to-use/when-not-to-use statement and no named alternative. An agent can infer the workflow position but gets no routing guidance.

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