Skip to main content
Glama

get_api_info

Read-onlyIdempotent

Get reference documentation for the core Orderly trading API: REST endpoints, WebSocket streams, or authentication. For rest or websocket, omitting endpoint lists every endpoint or stream with base URLs and auth requirements; supplying endpoint fuzzy-matches one item and returns its method/path or topic, auth, rate limits, parameters, message formats, and a TypeScript example. type: 'auth' returns the signing flow and ignores endpoint. Read-only bundled docs — it does not call the API and requires no credentials, rate limits, or side effects. Use type alone to discover valid names, then endpoint for detail; for historical analytics use get_indexer_api_info, for zero-auth public data use get_public_info_api_info, for DEX management use get_orderly_one_api_info, and for vault data use get_strategy_vault_api_info.

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": {
      "type": "<type>"
    },
    "name": "get_api_info"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeYesAPI type ('rest', 'websocket', or 'auth')
endpointNoSpecific endpoint or stream name (e.g., '/v1/order', 'orderbook', 'position')

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/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=false, so the safety profile is covered. The description still adds substantive behavior beyond that: the docs are bundled and never call the API, require no credentials or rate limits, and `endpoint` performs fuzzy matching while `type: 'auth'` silently ignores `endpoint`. That last detail is a genuine behavioral quirk an agent would otherwise stumble on; it stops short of 5 only because the read-only/no-side-effects claim partly restates the annotations.

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?

A single dense paragraph, but purpose is front-loaded, then return-value detail, then behavior, then sibling routing. Every clause carries distinct information — the list of returned fields (method/path, auth, rate limits, parameters, message formats, TypeScript example) is the only slightly heavy section, and it earns its place as the de facto substitute for a missing output schema.

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?

With only two parameters, no output schema, and full schema description coverage, the remaining burden is explaining what comes back and how the two parameters interact — both are handled explicitly, including the enumerated return fields. Nothing an agent needs to invoke this correctly is missing.

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?

Schema coverage is 100%, so the baseline is 3, and the description earns above that by explaining the omission semantics ('omitting `endpoint` lists every endpoint or stream') and the fuzzy-match resolution mode when it is supplied. It also documents the non-obvious interaction where `type: 'auth'` ignores `endpoint`, which the schema does not convey. It does not add format or case-sensitivity rules for the fuzzy match, so not a 5.

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 — 'Get reference documentation for the core Orderly trading API' — and immediately enumerates the three covered surfaces (REST, WebSocket, auth). The closing sentence names four sibling tools (indexer, public info, orderly one, strategy vault) and the domains they cover, so an agent can pick the right tool without opening any 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 an explicit two-step workflow: 'Use `type` alone to discover valid names, then `endpoint` for detail.' It also provides four explicit exclusion rules routing historical analytics, zero-auth public data, DEX management, and vault data to named alternatives, which is exactly the when-not-to-use guidance the dimension asks for.

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.