Skip to main content
Glama

Compare servers side by side

compare_servers
Read-onlyIdempotent

Puts two to five registry servers next to each other from the board's latest daily probe: status, how a client gets in, tool count, token cost (exact in Claude when counted, else the estimate), share of a 200k window and initialize latency, with the cheapest, the most expensive and the spread. Use it to choose between servers that do the same job; use lookup_server for the full record of one server, search_servers to find candidates, and check_server for a URL that is not in the registry. Instant, no connection to the servers. A name the board does not know gets a row with status "unknown" and the comparison goes on. format picks the text layout (JSON, a Markdown table, or CSV to paste into a spreadsheet); the structured content is always JSON.

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": {
      "servers": "<servers>"
    },
    "name": "compare_servers"
  }
}

Input Schema

NameRequiredDescriptionDefault
formatNoThe layout of the text content: json (default), markdown (a table with a summary line), or csv (a header row, then one row per server)
serversYesTwo to five registry names (io.github.owner/name) or the servers' https URLs as the registry lists them

Output Schema

NameRequiredDescriptionDefault
formatYes
serversYesOne row per requested server, in the order given
cheapestYesThe server with the fewest tokens, when two or more rows are measured
measuredYesHow many rows have a token number
tokenSpreadYesTokens between the most expensive and the cheapest
mostExpensiveYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedOutput schema / additionalProperties
      Previous value: -falseNew value: +true
    • changedOutput schema / properties / servers / items / additionalProperties
      Previous value: -falseNew value: +true
  2. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), and the description still adds real behavior: it is instant with no connection to the servers, token cost is exact in Claude when counted and an estimate otherwise, and an unknown name yields an "unknown" row without aborting the comparison. That last edge case is exactly the kind of failure-mode disclosure annotations cannot carry.

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?

Front-loaded with purpose, then alternatives, then behavior, then format — a sensible order with no filler sentences. The opening sentence is a long comma-spliced list of compared fields that could be tightened, but every clause carries information.

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?

For a read-only comparison tool with an output schema, a 2-parameter input schema, and full annotation coverage, nothing an agent needs is missing: cost of calling, edge-case handling, output layout options, and sibling routing are all present.

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, but the description adds meaning the schema does not: format affects only the text content, while structured content is always JSON. It also implies the 2-5 bound on servers, matching the schema's minItems/maxItems.

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?

States a specific verb and resource ("Puts two to five registry servers next to each other") and enumerates exactly which attributes are compared: status, access method, tool count, token cost, context share, and initialize latency. It is immediately distinguishable from lookup_server, search_servers, and check_server, which are named directly.

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?

Gives an explicit selection rule ("Use it to choose between servers that do the same job") and then routes each adjacent need to its sibling: lookup_server for a full record, search_servers for candidates, check_server for off-registry URLs. When-not-to-use is equally clear.

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.