Skip to main content
Glama

open_interest

Requires a ChainHelix API key as bearer token, or 2 cents per call paid over Binance b402 in USDT, USDC, USD1 or U on BNB Smart Chain, or over x402 in USDC on the Base network. Open interest per chain: latest value, the value at the start of the window, change in percent, high and low inside the window and a sampled series. window in hours, default 24, max 720. Omit chain for all nine

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chainNo
windowNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
metaNo
receiptNo
resultsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / x-lexicon / bundleSha256
      Previous value: -"a1c2e10fd3177d6b4d59ca78693e8fb36880165cf0f735f680dd86a510411178"New value: +"e5b4290024a229f2bdf97f8fc6a0079c3fe13b77267f41fdcffeb8b26aa1c41e"
  2. Changed1 schema field changed
    • changedInput schema / x-lexicon / bundleSha256
      Previous value: -"1eeb782ee15fe69fc80776948e0556fa6b795e210e6305935b2c97b73d955cda"New value: +"a1c2e10fd3177d6b4d59ca78693e8fb36880165cf0f735f680dd86a510411178"
  3. Changed1 schema field changed
    • changedInput schema / x-lexicon / bundleSha256
      Previous value: -"c014292cad7497ce9fd68c33345ac32cb42b672c8e77d6c749c26e162cc207e4"New value: +"1eeb782ee15fe69fc80776948e0556fa6b795e210e6305935b2c97b73d955cda"
  4. Changed2 schema fields changed
    • addedInput schema / x-lexicon
      Added value: +{
      +  "bundleSha256": "c014292cad7497ce9fd68c33345ac32cb42b672c8e77d6c749c26e162cc207e4",
      +  "name": "ChainHelix Agentic Lexicon",
      +  "resolve": "lexicon_resolve",
      +  "spec": "lexicon_spec",
      +  "version": "0.1.0"
      +}
    • addedInput schema / x-vocab
      Added value: +{
      +  "chain": "onchain.chain",
      +  "window": "market.window"
      +}
  5. Changed1 schema field changed
    • addedOutput schema / properties / results / items / properties / source
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
  6. Changed3 schema fields changed
    • addedOutput schema / properties / meta
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "contentHash": {
      +      "type": "string"
      +    },
      +    "generated": {
      +      "type": "number"
      +    },
      +    "priceUsd": {
      +      "type": "number"
      +    },
      +    "validUntil": {
      +      "type": "number"
      +    }
      +  },
      +  "type": "object"
      +}
    • addedOutput schema / properties / receipt
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "bytes": {
      +      "type": "number"
      +    },
      +    "covers": {
      +      "type": "string"
      +    },
      +    "issuedAt": {
      +      "type": "number"
      +    },
      +    "lookup": {
      +      "type": "string"
      +    },
      +    "network": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "nonce": {
      +      "type": "string"
      +    },
      +    "seq": {
      +      "type": "number"
      +    },
      +    "settleTx": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "sha256": {
      +      "type": "string"
      +    },
      +    "tool": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    }
      +  },
      +  "type": "object"
      +}
    • addedOutput schema / properties / results / items / properties / latestAt
      Added value: +{
      +  "type": [
      +    "number",
      +    "null"
      +  ]
      +}
  7. Added

TDQS

A4.1/5.0
Behavior3/5

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

No annotations are provided, so the description carries the burden. It discloses the authentication/payment requirement (bearer token or per-call payment), which is useful. However, it does not mention whether the operation is read-only, any side effects, rate limits, or error behavior. For a data-retrieval tool, the read-only nature is implied but not stated.

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 description is a single dense sentence, but it packs a lot of value. It front-loads the payment requirement, which might be secondary to the core purpose, but the overall length is appropriate. The structure could be improved by separating payment info from functional behavior, but it remains concise and complete.

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?

An output schema exists, so return-value documentation is not required. The description covers the tool's output content, parameter constraints, and payment/auth. For a tool with two optional parameters, this is sufficient. It lacks details on error scenarios or rate limits, but those are not critical for a read-like query tool.

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 description coverage is 0%, so the description must compensate. It explains 'window' in hours with default and max, and clarifies 'chain' by stating omission returns all nine. It does not list each chain value, but the schema's enum already does that, so the description adds meaningful usage context beyond the schema.

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 clearly states the tool's function: it returns open interest per chain with latest value, start-of-window value, percent change, high/low, and a sampled series. This is specific and distinguishes it from siblings like prices or candles, which are about other market data. The verb is implicit but the resource and data points are explicit.

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?

Provides concrete usage guidance: 'window in hours, default 24, max 720' and 'Omit chain for all nine'. These are actionable parameter constraints. However, it does not explicitly state when to use this tool versus alternatives, though none of the siblings directly compete, so the lack of exclusion is acceptable.

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