Skip to main content
Glama

minia2a — hosted x402 API marketplace (HTTP)

x402-polyperp-candles

x402-polyperp-candles: OHLCV candles for one Polymarket Perps market, with trend statistics computed for you — first open, last close, percent change, high, low, average volume, total trades and direction. Intervals: 1m, 5m, 15m, 30m, 1h, 4h, 1d, 1w. Use it for momentum, breakout and mean-reversion checks. Note these markets trade 24/7, so a daily candle covers the whole day for equities and commodities too — including the hours when the underlying cash market is shut.

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": {
      "symbol": "<symbol>"
    },
    "name": "x402-polyperp-candles"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNo
hoursNo
limitNo
symbolYes
intervalNo
instrumentNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / required
      Added value: +[
      +  "symbol"
      +]
  2. Changed6 schema fields changed
    • removedInput schema / properties / hours / description
      Removed value: -"Hours to process"
    • removedInput schema / properties / id / description
      Removed value: -"Id to process"
    • removedInput schema / properties / instrument / description
      Removed value: -"Instrument to process"
    • removedInput schema / properties / interval / description
      Removed value: -"Interval to process"
    • removedInput schema / properties / limit / description
      Removed value: -"Limit to process"
    • removedInput schema / properties / symbol / description
      Removed value: -"Symbol to process"
  3. First observed

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full burden and does add real context: the exact list of derived statistics returned and the 24/7 trading caveat that affects candle interpretation. It omits other behavioral traits an agent would want — payment/auth expectations implied by the x402 prefix, rate limits, pagination behavior for large candle counts, and what happens when a request exceeds available history.

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?

The core capability and interval set are front-loaded, and the sentences are dense with useful content. Minor waste in leading with the tool name as a label ('x402-polyperp-candles:') and the final caveat sentence is long, but nothing is filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a six-parameter tool with no annotations and no output schema, the description does a decent job explaining what comes back (a key compensation) and when to use it. It falls short on parameter semantics and on operational behavior, leaving half the calling surface undocumented.

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

Parameters2/5

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

Schema description coverage is 0% across six parameters, and the description does not explain any of them directly. It lists valid intervals (1m through 1w) which implicitly maps to the 'interval' parameter, but 'id', 'hours', 'limit', and 'instrument' remain entirely undefined, and it never states that only 'symbol' is required or how it relates to 'id'/'instrument'.

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 gives a specific verb+resource: 'OHLCV candles for one Polymarket Perps market', plus what is precomputed (first open, last close, percent change, high/low, average volume, trade count, direction). The 'Polymarket Perps' qualifier distinguishes it from the x402-hyperliquid-candles sibling without the agent needing to open 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 Guidelines3/5

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

It offers use-case framing ('Use it for momentum, breakout and mean-reversion checks') and a useful caveat that 24/7 trading makes daily candles cover hours when the cash market is shut. However, there is no when-not guidance and no explicit routing to alternatives such as x402-polyperp-trades or x402-polyperp-book for raw data.

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.