Skip to main content
Glama
OpenRouter MCP Server

OpenRouter MCP Server

by Hulupeep

compare_models

Compare multiple AI models side by side to evaluate differences in capabilities and pricing, helping you choose the right model for your use case.

Instructions

Compare multiple models side by side

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

Input Schema

NameRequiredDescriptionDefault
model_idsYesArray of model IDs to compare

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.8/5.0
Behavior2/5

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

No annotations provided, so the description carries the full behavioral burden. It doesn't say what dimensions are compared (price, context length, capabilities), whether it hits a network/refresh path, or what the returned comparison looks like.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Single short sentence with no waste, but under-specified rather than concise—there is no second sentence to front-load any useful detail.

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?

A comparison tool with no annotations, no output schema, and no statement of what gets compared leaves the agent guessing at the result shape. One sentence cannot cover the behavioral surface for a tool that aggregates multiple models.

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% and there is only one parameter, so baseline 3 applies. The description adds nothing about how many model IDs are sensible or whether order matters, but the schema is adequate.

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?

Clear specific verb 'compare' and resource 'models', with 'side by side' indicating comparative output. It doesn't differentiate from siblings like get_model or list_models, though the verb distinguishes well.

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

Usage Guidelines2/5

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

No guidance on when to use this versus list_models, search_models, or get_cheapest_models. No minimum model count, no exclusions, no note about whether costs or providers are compared.

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