Skip to main content
Glama

Pre-trade preflight (paid, x402) — $0.01

get_outlook
Read-onlyIdempotent

Use when running a pre-trade check on one perp: price divergence, funding, OI change, sentiment and flags. Pre-trade preflight for one Hyperliquid perp ($0.01/call, USDC on Base via x402): factual summary string, perp mark vs OKX spot and vs oracle (bps), funding rate hourly/8h/annualized with next funding time and extreme rank, open interest with change vs ~1h/4h/24h/7d, news sentiment if covered, per-component as_of and neutral flags (funding_extreme, oi_spike, venue_divergence, stale_component). No buy/sell call. Errors: no charge. Example: GET https://cryptofeed402.site/outlook/BTC

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "symbol": "BTC"
    },
    "name": "get_outlook"
  }
}

Input Schema

NameRequiredDescriptionDefault
symbolYesHyperliquid perp ticker, e.g. BTC, ETH, kPEPE; HIP-3 builder-dex perps as dex:TICKER, e.g. xyz:TSLA

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "anyOf": [
      +    {
      +      "properties": {
      +        "accepts": {
      +          "items": {
      +            "properties": {
      +              "amount": {
      +                "description": "USDC atomic units (6 decimals)",
      +                "type": "string"
      +              },
      +              "asset": {
      +                "type": "string"
      +              },
      +              "extra": {
      +                "type": "object"
      +              },
      +              "maxTimeoutSeconds": {
      +                "type": "number"
      +              },
      +              "network": {
      +                "const": "eip155:8453",
      +                "type": "string"
      +              },
      +              "payTo": {
      +                "type": "string"
      +              },
      +              "scheme": {
      +                "const": "exact",
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "scheme",
      +              "network",
      +              "amount",
      +              "asset",
      +              "payTo"
      +            ],
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        "error": {
      +          "type": "string"
      +        },
      +        "resource": {
      +          "properties": {
      +            "description": {
      +              "type": "string"
      +            },
      +            "mimeType": {
      +              "type": "string"
      +            },
      +            "url": {
      +              "type": "string"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "x402Version": {
      +          "type": "number"
      +        }
      +      },
      +      "required": [
      +        "x402Version",
      +        "accepts"
      +      ],
      +      "title": "x402 PaymentRequired (what this MCP tool returns, isError=true)",
      +      "type": "object"
      +    },
      +    {
      +      "properties": {
      +        "active_flags": {
      +          "type": "array"
      +        },
      +        "as_of": {
      +          "description": "ISO-8601 UTC",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "disclaimer": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "flag_rules": {
      +          "properties": {
      +            "funding_extreme": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "oi_spike": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "stale_component": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "venue_divergence": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "flags": {
      +          "properties": {
      +            "funding_extreme": {
      +              "type": "boolean"
      +            },
      +            "oi_spike": {
      +              "type": "boolean"
      +            },
      +            "stale_component": {
      +              "type": "boolean"
      +            },
      +            "venue_divergence": {
      +              "type": "boolean"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "freshness": {
      +          "properties": {
      +            "oi_history": {
      +              "type": "object"
      +            },
      +            "perp": {
      +              "type": "object"
      +            },
      +            "sentiment": {
      +              "type": "object"
      +            },
      +            "spot": {
      +              "type": "object"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "funding": {
      +          "description": "Funding rates, next funding, extreme rank",
      +          "properties": {
      +            "annualized_pct": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "as_of": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "extreme_rank": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "in_top10": {
      +              "type": "boolean"
      +            },
      +            "interval_hours": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "next_funding_time": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "ranked_universe": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "rate_8h": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "rate_hourly": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "side_paying": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "time_to_next_seconds": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "generated_at": {
      +          "description": "Response time",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "kind": {
      +          "description": "main or hip3",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "max_leverage": {
      +          "description": "Venue max leverage",
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        },
      +        "not_included": {
      +          "properties": {
      +            "liquidation_levels": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "recommendation": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "open_interest": {
      +          "description": "OI coins/usd and % change vs 1h/4h/24h/7d",
      +          "properties": {
      +            "as_of": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "change_1h_pct": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "change_24h_pct": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "change_4h_pct": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "change_7d_pct": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "coins": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "note": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "ref_1h_at": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "ref_24h_at": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "ref_4h_at": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "ref_7d_at": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "usd": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "price": {
      +          "description": "perp/spot/oracle prices and bps divergences",
      +          "properties": {
      +            "as_of": {
      +              "type": "object"
      +            },
      +            "change_24h_pct": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "mark_vs_oracle_bps": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "mark_vs_spot_bps": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "note": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "perp_mark_px": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "perp_mid_px": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "perp_oracle_px": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "premium_pct": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "spot_pair": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "spot_px": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "spot_venue": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "provenance": {
      +          "description": "Optional provenance on paid 200s",
      +          "properties": {
      +            "data_sha256": {
      +              "type": "string"
      +            },
      +            "fetched_at": {
      +              "type": "string"
      +            },
      +            "max_age_s": {
      +              "type": "number"
      +            },
      +            "source": {
      +              "type": "string"
      +            },
      +            "sources": {
      +              "type": "array"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "sentiment": {
      +          "properties": {
      +            "age_seconds": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "as_of": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "available": {
      +              "type": "boolean"
      +            },
      +            "label": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "n_headlines": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "score": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "window_minutes": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "summary": {
      +          "description": "Short factual summary",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "symbol": {
      +          "description": "Ticker",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "venue": {
      +          "description": "hyperliquid",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "volume_24h_usd": {
      +          "description": "24h volume USD",
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        }
      +      },
      +      "required": [
      +        "active_flags",
      +        "as_of",
      +        "disclaimer",
      +        "flag_rules",
      +        "flags",
      +        "freshness",
      +        "funding",
      +        "generated_at",
      +        "kind",
      +        "max_leverage",
      +        "not_included",
      +        "open_interest",
      +        "price",
      +        "sentiment",
      +        "summary",
      +        "symbol",
      +        "venue",
      +        "volume_24h_usd"
      +      ],
      +      "title": "Paid HTTP 200 body of GET /outlook/{symbol}",
      +      "type": "object"
      +    }
      +  ],
      +  "type": "object"
      +}
  2. Changed2 schema fields changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "symbol": "BTC"
      +  }
      +]
    • addedInput schema / properties / symbol / examples
      Added value: +[
      +  "BTC"
      +]
  3. Changed2 schema fields changed
    • changedInput schema / properties / symbol / description
      Previous value: -"Hyperliquid perp ticker, e.g. BTC, ETH, SOL, HYPE"New value: +"Hyperliquid perp ticker, e.g. BTC, ETH, kPEPE; HIP-3 builder-dex perps as dex:TICKER, e.g. xyz:TSLA"
    • changedInput schema / properties / symbol / pattern
      Previous value: -"^[A-Za-z0-9]{1,20}$"New value: +"^(?:[A-Za-z]{1,10}:)?[A-Za-z0-9]{1,20}$"
  4. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, open-world), so the description's job is to add context, and it does: cost ($0.01/call, USDC on Base via x402), no charge on errors, no buy/sell recommendation, per-component as_of timestamps, and staleness/neutral flag semantics. It does not cover rate limits or x402 payment failure/retry behavior, so it stops 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?

The trigger condition and composite contents are front-loaded, and the pricing and error policy are appended at the end where they matter least for selection but still belong. The middle clause is a long comma-chained list that is dense but not padded; no sentence is 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?

With one required parameter, full schema coverage, an output schema, and complete annotations, the description supplies everything needed to decide and invoke: scope, cost, error charging, and the meaning of the returned flags. The only soft spot is the hedged "news sentiment if covered," which hints at per-asset coverage variability without explaining how to check it.

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 coverage is 100% and the symbol property already documents the HIP-3 dex:TICKER form with examples. The description adds only an example URL (GET /outlook/BTC), which is marginally useful but not new semantic meaning. Baseline 3 applies when the schema carries the parameter documentation.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb and resource: a pre-trade preflight for a single Hyperliquid perp, and it enumerates the components returned (price divergence, funding, OI change, sentiment, flags). That is far more concrete than the name alone. It doesn't explicitly say how it relates to single-metric siblings like get_price or get_funding_history, leaving the agent to infer that this is the composite snapshot tool.

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?

It opens with a clear use condition ("Use when running a pre-trade check on one perp") and constrains scope to one perp via a single symbol. It also sets an expectation boundary with "No buy/sell call." There is no explicit when-not guidance or named alternative for price-only or funding-only lookups.

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.