Skip to main content
Glama

LLM Latency Tracker

get_ai_api_latency

Measured latency (TTFB p50/p95) and uptime rankings of AI inference API providers by region, from llmlatency.dev.

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": "get_ai_api_latency"
  }
}

Input Schema

NameRequiredDescriptionDefault
regionNoeu-hetzner, us-central, ap-tokyo or sa-west; omit for all

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / region / description
      Previous value: -"eu-hetzner, us-central, ap-tokyo or sa-east; omit for all"New value: +"eu-hetzner, us-central, ap-tokyo or sa-west; omit for all"
  2. First observed

TDQS

B3.3/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It does disclose useful behavioral context that structured fields lack: the upstream source (llmlatency.dev), the specific statistics (TTFB p50/p95), that rankings are comparative across providers, and that results are region-scoped. It does not say whether the data is live or a cached/snapshot dataset, how fresh it is, or whether an omitted region aggregates or returns per-region rows — real gaps given zero annotation coverage.

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?

One sentence that front-loads the metrics and resource, then the regional dimension, then the data source. No filler, no redundancy, and nothing buried.

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 single optional-parameter read tool this covers what is measured, the granularity, and the origin of the data, which is close to sufficient. But with no output schema and no annotations, the description leaves the response shape, freshness/caching behavior, and the meaning of an omitted region unaddressed — details an agent would need to interpret results correctly.

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 the single region parameter already enumerates its allowed values (eu-hetzner, us-central, ap-tokyo, sa-west) plus the omit-for-all default. The description adds only the framing 'by region', which contextualizes the parameter but supplies no new syntax or semantics, so the baseline 3 applies.

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?

The description names a specific resource and metric set: measured TTFB p50/p95 latency and uptime rankings for AI inference API providers, scoped by region, sourced from llmlatency.dev. An agent can tell this is a read of benchmark/latency data rather than model metadata (the only sibling, get_model_deprecations). The verb is implicit in 'get'/'rankings' rather than stated outright, which keeps it just short of 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 explicit when-to-use guidance, no statement of when not to use it, and no mention of the alternative (get_model_deprecations) or any other data source. Usage is only inferable from the resource name itself, so the agent must decide on its own whether this tool fits a latency/uptime question.

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.