Skip to main content
Glama

Compare two runs

compare_runs
Read-onlyIdempotent

Use this to compare the named rate of two runs on the questions and engines both measured. It reports Moved up or Moved down only where the intervals separate, and refuses to compare different method versions.

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": {
      "run_id": "<run_id>",
      "other_run_id": "<other_run_id>"
    },
    "name": "compare_runs"
  }
}

Input Schema

NameRequiredDescriptionDefault
run_idYesA run_id from list_runs.
other_run_idYesA run_id from list_runs.
brand_account_idNoA permitted client account_id returned in list_runs.workspaces. Omit it to read your own account.

Output Schema

NameRequiredDescriptionDefault
leftNo
rightNo
changeYes
sampleNoTrue on every answer about the fictional sample.
comparableYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / brand_account_id
      Added value: +{
      +  "description": "A permitted client account_id returned in list_runs.workspaces. Omit it to read your own account.",
      +  "maxLength": 80,
      +  "minLength": 1,
      +  "type": "string"
      +}
  2. Changed1 schema field changed
    • removedInput schema / properties / brand_account_id
      Removed value: -{
      -  "description": "A permitted client account_id returned in list_runs.workspaces. Omit it to read your own account.",
      -  "maxLength": 80,
      -  "minLength": 1,
      -  "type": "string"
      -}
  3. Changed1 schema field changed
    • addedInput schema / properties / brand_account_id
      Added value: +{
      +  "description": "A permitted client account_id returned in list_runs.workspaces. Omit it to read your own account.",
      +  "maxLength": 80,
      +  "minLength": 1,
      +  "type": "string"
      +}
  4. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already establish readOnly/idempotent/non-destructive, so the safety profile is covered elsewhere. The description adds genuinely new behavior: significance gating (reports 'Moved up' or 'Moved down' only where intervals separate) and a refusal condition for mismatched method versions, which tells the agent to expect partial or error results.

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 sentences, front-loaded with the usage directive, and every clause carries information (scope restriction, significance rule, refusal rule). The phrasing 'the named rate' is slightly opaque, but 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?

An output schema exists, so return-value explanation is rightly omitted, and annotations cover the safety profile. However, for a comparison tool the missing piece is directionality between run_id and other_run_id — without it the agent cannot be sure which baseline 'Moved up' is measured against, and no error/partial-result behavior beyond the method-version refusal is described.

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 both required run_id parameters and the optional brand_account_id are documented in the schema itself. The description adds no per-parameter meaning, and notably does not clarify directionality (which run is the baseline for 'Moved up'), leaving an ambiguity the schema also does not resolve.

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 the named rate of two runs') and scopes the comparison to 'the questions and engines both measured', which tells the agent this is an intersection-based diff rather than a whole-run diff. It is the only comparison tool among a sibling set of get_*/list_* tools, so differentiation is largely implicit rather than stated.

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?

Opens with an explicit 'Use this to...' directive and adds a real precondition: it refuses to compare runs from different method versions, which the agent needs to know before calling. It does not name an alternative when runs are incomparable (e.g. get_method or get_results to inspect method version first), so guidance stops short of full routing.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources