Skip to main content
Glama

Check Perps readiness

perps_readiness
Idempotent

Diagnostic. Call before trading: it collects what would block this trading agent — no Perps account, failing reads, a token that cannot write. A missing Perps account is requested by this call and reported as agent.account.not_ready until it is provisioned; call again after a few seconds. Returns {ok, contractsCount, openPositionsCount, issues:[{code, description}]} — ok is true exactly when issues is empty, meaning no blocker this server can see; a Perps-side trading pause only surfaces when a write is executed.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Despite readOnlyHint=false, the description explains the surprising side effect — a missing Perps account is requested by this call — which reconciles the annotation and tells the agent why a read-only-looking diagnostic is not read-only. It also discloses the returned fields, the ok/issues invariant, and a genuine limitation (a server-side trading pause only surfaces on a write). That is behavior beyond anything the annotations convey.

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?

Front-loaded with purpose, then the call-timing rule, then the side effect, then the return contract — a sensible order for an agent. Some phrasing is heavier than needed ("A missing Perps account is requested by this call"), but no sentence is filler.

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?

There is no output schema, and the description compensates by spelling out the return shape {ok, contractsCount, openPositionsCount, issues[]} and the meaning of ok. For a zero-parameter diagnostic, the account-provisioning side effect and the retry instruction cover everything an agent needs to call it correctly.

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; there is nothing for the description to disambiguate. It correctly spends no words on parameter semantics.

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 opens with a specific classification ("Diagnostic. Call before trading") and states exactly what it collects: blockers for this trading agent — missing account, failing reads, a token that cannot write. That scope is clearly distinct from the sibling prepare_*/execute_* tools, which act on orders and margin rather than reporting readiness.

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?

Timing guidance is explicit and front-loaded: "Call before trading" and "call again after a few seconds" while provisioning completes. What is missing is a when-not statement or a comparison to a named alternative (e.g. perps_guide), but the intended invocation context is unambiguous.

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