Skip to main content
Glama

Exchange health

get_venue_health
Read-onlyIdempotent

Whether each exchange is reachable right now: TradeHub's public price feed per exchange, and, with an account, each connected exchange account's latency, last error and rate-limit headroom. Use after a VENUE_UNAVAILABLE error or before trading on an exchange that misbehaved. Not for prices (use compare_venue_prices). No inputs. Next: retry the failed call, or use another venue.

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_venue_health"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
venuesYesYour connected venue accounts: connected, latency_ms, last_error, rate-limit headroom (empty without an account)
deprecationNoPresent only while this tool is deprecated: replacement, removal_date, changelog
public_dataYesPer venue: ok, updated_at, error for TradeHub's public price feed

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed9 schema fields changed
    • removedInput schema / title
      Removed value: -"get_venue_healthArguments"
    • addedOutput schema / properties / deprecation / additionalProperties
      Added value: +true
    • removedOutput schema / properties / deprecation / anyOf
      Removed value: -[
      -  {
      -    "additionalProperties": true,
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • removedOutput schema / properties / deprecation / default
      Removed value: -null
    • removedOutput schema / properties / deprecation / title
      Removed value: -"Deprecation"
    • addedOutput schema / properties / deprecation / type
      Added value: +[
      +  "object",
      +  "null"
      +]
    • removedOutput schema / properties / public_data / title
      Removed value: -"Public Data"
    • removedOutput schema / properties / venues / title
      Removed value: -"Venues"
    • removedOutput schema / title
      Removed value: -"VenueHealth"
  2. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is covered. The description adds real value beyond that: it discloses the auth-dependent split (public data always, account-level detail only 'with an account') and names the specific account metrics returned, which is genuine behavioral context. It stops short of stating freshness/caching or that unreachable exchanges are reported rather than raised as errors, so it is not exhaustive.

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 tightly packed sentences, front-loaded with the core capability, then the when-to-use/exclusion, then the next step. Every clause carries information — the account-vs-public distinction, the named error code, the named sibling, the follow-up action — with no filler.

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?

An output schema exists, so return-value explanation is correctly omitted, and with zero parameters the definition is nearly self-sufficient. The only residual gap is that the description doesn't say how an unreachable exchange is surfaced in the response (error vs. field), which matters for a health-check tool whose whole point is failure reporting.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool takes zero parameters, so the baseline is 4, and the description reinforces this by stating 'No inputs', removing any doubt about whether an exchange selector exists. No further parameter meaning is needed or possible.

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 ('whether each exchange is reachable right now') plus the two data layers it returns: public price feed per exchange and, with an account, per-account latency, last error and rate-limit headroom. It explicitly carves out the sibling it is not ('Not for prices (use compare_venue_prices)'), so an agent can disambiguate from compare_venue_prices without opening 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 trigger conditions ('after a VENUE_UNAVAILABLE error or before trading on an exchange that misbehaved'), an explicit exclusion routed to a named alternative ('Not for prices (use compare_venue_prices)'), and even the follow-up action ('retry the failed call, or use another venue'). Nothing about when to select this tool 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