Skip to main content
Glama

AgentRail

Get venue health

agentrail_get_venue_health
Idempotent

Live status and latency for exchanges (binance, kraken, bybit), cached for 30 seconds. Costs 1 credit per successful call; failed calls are free. Use before routing an order to check a venue is up. Omit venue to check all.

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": {
      "idempotency_key": "<idempotency_key>"
    },
    "name": "agentrail_get_venue_health"
  }
}

Input Schema

NameRequiredDescriptionDefault
venueNoOne venue, or omit for all.
idempotency_keyYesUnique per distinct call, e.g. a UUID. Retrying with the SAME key and SAME arguments is never charged twice and returns the original result.

Output Schema

NameRequiredDescriptionDefault
venuesYes
billingYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Adds real behavioral context beyond the annotations: a 30-second cache (staleness bound), a 1-credit cost on success with failures free, and the all-venues default. That cost model is crucial and is not derivable from readOnlyHint=false or openWorldHint=true. It does not mention rate limits or how degraded/unknown venues are reported, keeping it below a 5.

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?

Four short sentences, front-loaded with what the tool returns, then cache/cost, then the usage trigger, then the default. Every sentence carries distinct information and nothing is redundant.

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 two-parameter read tool with an output schema and full schema coverage, the description covers the remaining gaps an agent needs: cost, caching, failure charging, and the intended call moment. Return-value details are correctly left to the output schema.

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 both parameters are already documented, including the enum values and the idempotency-key retry semantics. The description's "omit venue to check all" merely restates the schema's own "One venue, or omit for all," adding no new meaning. 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?

States a specific resource and what it returns: live status and latency for named exchanges, with a 30-second cache. The scope is clear enough that an agent can tell it apart from get_credit_balance, estimate_fees, or heartbeat, though the description never explicitly contrasts itself with those siblings.

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

Usage Guidelines4/5

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

"Use before routing an order to check a venue is up" gives an explicit trigger condition, which is stronger than most tools provide. There is no statement of when not to use it (e.g. when cached data is too stale or when per-venue latency isn't needed), so it stops short of a full routing rule.

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