Skip to main content
Glama

rank_endpoints

Run live checks on two to five LLM API endpoints and rank them by contract honesty, P0 breaches, median TTFT, and total latency.

Instructions

Run live checks on two to five endpoints. Rank by Contract Honesty Grade, P0 breaches, median TTFT, and total latency.

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": {
      "endpoints": "<endpoints>"
    },
    "name": "rank_endpoints"
  }
}

Input Schema

NameRequiredDescriptionDefault
profileNoCanary profile. quick runs the core checks, full runs all standard checks, relay targets relay behavior.quick
endpointsYesEndpoints to check with the same canary profile.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose that the checks are live (real network calls, not a stored comparison) and what the ranking keys are. It omits cost/latency implications of hitting external endpoints, credential handling behavior, and failure handling when an endpoint errors out, which matter for a live-probe tool.

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?

Two short sentences, no filler, with the action first and the ranking criteria second. Every clause carries information.

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

Completeness3/5

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

For a live-check tool with no output schema and no annotations, naming the ranking metrics is genuinely helpful, but the definition says nothing about live-call cost, runtime, or credential requirements, leaving those entirely to the schema. It is adequate but has clear gaps.

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 the profile enum and the endpoint object fields are already documented in the schema; the baseline of 3 applies. The description adds no meaning about how profile choice affects ranking, and 'two to five endpoints' duplicates the schema's min/max items.

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 concrete verb+resource ('Run live checks on ... endpoints') and names the ranking output dimensions (Contract Honesty Grade, P0 breaches, median TTFT, total latency), so the agent knows what it gets back. It does not distinguish itself from lookalike siblings such as compare_endpoints or doctor_endpoint, which keeps it from 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 Guidelines2/5

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

There is no when-to-use guidance and no routing to alternatives among compare_endpoints, doctor_endpoint, or probe_catalog. The only constraint given, two to five endpoints, merely restates schema bounds (minItems 2, maxItems 5), so the agent gets no selection signal.

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