Skip to main content
Glama

Perpetual futures

get_perps
Read-onlyIdempotent

One perp market right now, venue by venue: price and premium to the stock or index, open interest, funding, max leverage, liquidation levels, whale trades, positioning; a stock perp's weekend move. Use when the user asks: X funding rate; where do X longs get liquidated. Not for: trends or book depth → get_perps_history. Args: entity.

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": {
      "entity": "<entity>"
    },
    "name": "get_perps"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNoresearch: detailed hourly evidence; trading: bounded fresh order-book reads on supported venues, never an hourly-price fallback.research
entityYesThe market: a ticker or symbol (NVDA, BTC, XAU), a company name (Tesla) or a common asset name (bitcoin, gold, crude oil).
max_age_sNoTrading mode: maximum age of the venue's book in seconds, default 3.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered. The description adds genuinely new behavioral context: this is a live current-state read, results are broken out venue by venue, and stock perps expose weekend moves. It does not discuss freshness limits, latency, or error behavior, which keeps it short of 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.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the core definition, then triggers, then the exclusion — a sensible ordering with no filler sentences, though the trailing 'Args: entity' is dead weight since the schema covers it. The telegraphic field list is dense but readable.

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?

There is no output schema, so the description carries the burden of describing returns, and it does so by enumerating the fields an agent will receive. The research/trading mode distinction is left entirely to the schema, which is acceptable given its thorough inline documentation, but a one-line note on what trading mode changes about the response would make it complete.

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 description coverage is 100%, and the schema already explains entity formats plus the research/trading mode split and max_age_s semantics in detail. The description's only parameter reference is the trailing 'Args: entity', which adds no meaning beyond the schema. Baseline 3 is appropriate.

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 states a specific verb and resource ('One perp market right now, venue by venue') and then enumerates the concrete payload — price, premium, open interest, funding, max leverage, liquidation levels, whale trades, positioning. An agent knows exactly what this returns and that it is a snapshot rather than a time series, which separates it from get_perps_history.

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?

It gives both positive triggers ('Use when the user asks: X funding rate; where do X longs get liquidated') and an explicit exclusion with a named alternative ('Not for: trends or book depth → get_perps_history'). 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.