Skip to main content
Glama

Compare two models or two cards

compare_setups
Read-onlyIdempotent

Compare two models on the same hardware or one model across two hardware setups to see which fits, runs faster, and leaves more memory free.

Instructions

Compares two options head to head, in one of two modes: two models on the same hardware (give a_model, b_model and a_hardware), or one model on two hardware setups (give a_model, a_hardware and b_hardware). Returns which fits, which is faster (with the ratio), which leaves more memory free and - only where LocalBit's node measured both - which scores higher on its quality check and uses less energy per answer; otherwise it says those are unavailable. context (default 8,192 tokens) applies to both. Use this when the user is choosing between two options; use check_fit for a single model and hardware. Giving neither b_model nor b_hardware returns an error asking for the second option.

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": {
      "a_model": "<a_model>",
      "a_hardware": "<a_hardware>"
    },
    "name": "compare_setups"
  }
}

Input Schema

NameRequiredDescriptionDefault
a_modelYesFirst model, e.g. 'gemma 4 e4b'.
b_modelNoSecond model (leave out to compare_setups one model on two cards).
contextNoContext length in tokens (default 8192).
a_hardwareYesFirst hardware, e.g. 'rtx 3090'.
b_hardwareNoSecond hardware (leave out to compare_setups two models on the same card).

Output Schema

NameRequiredDescriptionDefault
aNo
bNo
a_nodeNo
b_nodeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.1

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only declare readOnly/idempotent/closed-world; the description goes well beyond by disclosing what the result contains (fit, speed ratio, free memory) and, importantly, the conditional availability of quality and energy-per-answer comparisons ('only where LocalBit's node measured both'). That conditional-output caveat is exactly the kind of behavioral nuance annotations cannot express.

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?

The mode definitions and the when-to-use guidance are front-loaded and no sentence is filler. The single dense paragraph is slightly run-on, with the availability caveat and error behavior packed into one long clause, which costs a little readability.

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

Completeness5/5

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

An output schema exists, yet the description still sketches the comparison result set and its conditional fields, covering the one thing an agent most needs to know before calling. With the error case and mode pairing also covered, nothing material is missing for a 5-parameter read-only tool.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3; the description earns above that by explaining the pairing logic between parameters — which two of b_model/b_hardware to supply for each mode — and that context applies to both sides. It stops short of adding format or syntax detail beyond the schema's own examples.

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

Purpose5/5

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

The description opens with a specific verb and resource ('Compares two options head to head') and immediately enumerates the two comparison modes with the exact parameter combinations each requires. It is clearly distinguishable from check_fit and the other siblings.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It states the selection condition explicitly ('Use this when the user is choosing between two options') and names the alternative plus its trigger ('use check_fit for a single model and hardware'). It also documents the failure path when neither b_model nor b_hardware is supplied, so the agent knows what an invalid call looks like.

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