Skip to main content
Glama

ranking

Read-onlyIdempotent

Use recorded probe history to view tested models ordered by a quality score combining success rate, median latency, and cancellation rate, helping identify reliable endpoints without new probes.

Instructions

Return the quality ranking computed from RECORDED probe history (read-only scoring; also does a live read-only GET of each endpoint's /models list — no inference, no new probes, no token cost). Ordered best-first by score = success 50% + median latency 30% + cancellation 20%. Use after probe to see the ranked table; use recommend for a routing pick. Rows include model, score, success%, cancel%, median latency, verdict.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "ranking"
  }
}

Input Schema

NameRequiredDescriptionDefault
allNoalso list untested models (true/false)
limitNorows to show (default 20)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.2.0
    • addedInput schema / properties / all
      Added value: +{
      +  "description": "also list untested models (true/false)",
      +  "type": "string"
      +}
    • changedInput schema / properties / limit / description
      Previous value: -"rows to show (default 30)"New value: +"rows to show (default 20)"
  2. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, but the description adds context annotations cannot convey: that it still performs a live GET of each endpoint's /models list, and that this incurs no inference, no new probes, and no token cost. It also discloses the exact scoring formula (50% success / 30% median latency / 20% cancellation) and the best-first ordering, which is essential to interpreting output. Minor gap: no mention of runtime behavior on unreachable endpoints.

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

Conciseness5/5

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

Three sentences, front-loaded with the primary action, then usage routing, then output shape. Every clause earns its place — the parenthetical about the live /models GET and zero token cost is the only seemingly incidental detail, and it is decision-relevant.

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?

With no output schema, the description correctly compensates by enumerating the returned columns (model, score, success%, cancel%, median latency, verdict). Combined with the scoring weights and ordering, an agent knows both what it gets back and how to read it, with no required parameters to worry about.

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 parameters ('all' and 'limit') are already documented in the schema. The description adds only an indirect hint that untested models may appear as rows (relating to 'all'), but no format or default guidance beyond what the schema states. Baseline 3 applies when the schema carries the parameter semantics.

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 — 'Return the quality ranking computed from RECORDED probe history' — and immediately bounds the scope (recorded history, not new probes). It also names what it is not: 'use recommend for a routing pick', which distinguishes it from the sibling recommend tool without the agent needing to open either schema.

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 explicit sequencing ('Use after probe to see the ranked table') and an explicit exclusion with the alternative that replaces it ('use recommend for a routing pick'). This is exactly the when-to-use / when-not-to-use pattern an agent needs to route between probe, ranking, and recommend.

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

Deploy Server

Other Tools