Skip to main content
Glama

compare_models

Compare saved prediction files side by side and rank classifiers by ECE to identify which model has better-calibrated confidence.

Instructions

Evaluate several predictions files side by side and rank them by ECE.

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": {
      "paths": "<paths>"
    },
    "name": "compare_models"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathsYes
n_binsNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden, and it discloses only that results are ranked by ECE. It says nothing about whether the operation is read-only, whether the input files must share a label format or binning scheme, how ties are handled, or what happens on incompatible inputs.

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?

A single front-loaded sentence with no filler; the comparison scope and ranking metric come first. It is efficient but borderline under-specified rather than padded.

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?

An output schema exists so return values need no explanation, but for a tool that ranks multiple models the definition omits param meaning, input compatibility requirements, and any safety/permission context, leaving real gaps given zero annotation and zero schema coverage.

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 description must compensate and does not. 'Predictions files' loosely implies what `paths` accepts, but `n_bins` is never mentioned even though bin count directly shapes the ECE computation being used to rank models.

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 (evaluate/rank) and resource (several predictions files) plus the ranking metric (ECE), which makes the multi-file comparison scope clear. It does not explicitly separate itself from the sibling evaluate_calibration, which likely handles single-model calibration, so it stops short of a 5.

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 phrase 'several predictions files side by side' implies the multi-model comparison case, but there is no explicit when-to-use, when-not, or pointer to evaluate_calibration for single-model evaluation. The agent must infer the choice from the sibling names alone.

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