Skip to main content
Glama

FMF Proof

Relay Risk Check (跑路预警)

relay_risk_check

Reads what a model relay publishes to anyone: its new-api price table (per-model ratios, per-group multipliers) and its status endpoint. Pins the table and names every increase since the pin you pass back, flags cache billed at the full input price, and gives the 429 share of your own request log. No key or login is used. A watch is calling this on a schedule.

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

Input Schema

NameRequiredDescriptionDefault
logsNoOptional: your own requests to this relay, [{ at, status }], up to 5,000.
priorNoOptional: keep_this_as_prior from your last call; every increase since then is named.
relay_urlNoThe relay's address (its panel, where /api/pricing is served).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description carries the load and does meaningful work: it discloses the data source (publicly published endpoints, 'to anyone'), states 'No key or login is used' (auth requirements), and scopes the 429 analysis to 'your own request log' rather than global telemetry. It does not describe failure behavior when the pricing endpoint is missing or the relay is down, which is the remaining gap for a scheduled call.

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?

Four sentences, front-loaded with the resource then the derived outputs, with zero marketing filler. The middle sentence packs three distinct behaviors (pinning, cache-billing flagging, 429 share) into one long clause, which slightly hurts scanability, but nothing is redundant.

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

Completeness4/5

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

No output schema exists, so the description must convey results — it names the categories (pinned table, named increases, cache billed at full input price, 429 share) and references a 'keep_this_as_prior' continuation value, which is enough to use and chain the tool. It stops short of the actual return shape and does not say what happens if relay_url is omitted despite zero required parameters.

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 coverage is 100%, so the baseline is 3. The description does add some linkage — 'prior' is explained as the pin whose subsequent increases are named, and 'logs' as the source of the 429 share — but it does not clarify units, ordering, or what 'status' values are accepted in the logs array, and it never addresses that all three parameters are technically optional.

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?

The description names a specific verb and resource set: it 'reads what a model relay publishes' — the new-api price table (per-model ratios, per-group multipliers) and status endpoint — then states the derived outputs (pinned table, named increases, cache-billing flags, 429 share). An agent can tell this is a price/status auditing read against a relay without opening the schema.

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

Usage Guidelines3/5

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

Implied usage is clear — 'A watch is calling this on a schedule' and 'the pin you pass back' sketch a recurring monitoring workflow with a prior-snapshot loop. However, no explicit when-not condition or named alternative (e.g. versus price_change or relay_canary) is given, so routing between the price-adjacent siblings is left to inference.

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.

Resources