Skip to main content
Glama

cex_options_list_options_contracts

Read-onlyIdempotent

List all options contracts for an underlying

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": {
      "underlying": "<underlying>"
    },
    "name": "cex_options_list_options_contracts"
  }
}

Input Schema

NameRequiredDescriptionDefault
expirationNoUnix timestamp of expiration date
underlyingYesUnderlying asset name, e.g. BTC_USDT

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / expiration / format
      Added value: +"int64"
    • changedInput schema / properties / expiration / type
      Previous value: -"number"New value: +"integer"
  2. Changed2 schema fields changed
    • removedInput schema / properties / expiration / format
      Removed value: -"int64"
    • changedInput schema / properties / expiration / type
      Previous value: -"integer"New value: +"number"
  3. Changed2 schema fields changed
    • addedInput schema / properties / expiration / format
      Added value: +"int64"
    • changedInput schema / properties / expiration / type
      Previous value: -"number"New value: +"integer"
  4. Changed2 schema fields changed
    • removedInput schema / properties / expiration / format
      Removed value: -"int64"
    • changedInput schema / properties / expiration / type
      Previous value: -"integer"New value: +"number"
  5. Changed2 schema fields changed
    • addedInput schema / properties / expiration / format
      Added value: +"int64"
    • changedInput schema / properties / expiration / type
      Previous value: -"number"New value: +"integer"
  6. Changed2 schema fields changed
    • removedInput schema / properties / expiration / format
      Removed value: -"int64"
    • changedInput schema / properties / expiration / type
      Previous value: -"integer"New value: +"number"
  7. Changed2 schema fields changed
    • addedInput schema / properties / expiration / format
      Added value: +"int64"
    • changedInput schema / properties / expiration / type
      Previous value: -"number"New value: +"integer"
  8. Changed2 schema fields changed
    • removedInput schema / properties / expiration / format
      Removed value: -"int64"
    • changedInput schema / properties / expiration / type
      Previous value: -"integer"New value: +"number"
  9. Changed2 schema fields changed
    • addedInput schema / properties / expiration / format
      Added value: +"int64"
    • changedInput schema / properties / expiration / type
      Previous value: -"number"New value: +"integer"
  10. First observed

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is fully covered without the description. The description adds nothing beyond that: it does not say whether all expirations are returned in one payload, whether results are large/need paging, or how the optional expiration narrowing behaves. No contradiction, but no added behavioral value.

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?

A single short sentence with zero filler and the key subject front-loaded. It is appropriately terse for a two-parameter list tool, though the brevity comes at the cost of the missing guidance noted elsewhere.

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?

With full schema coverage, complete annotations and no output schema, the description is technically sufficient to invoke the tool correctly. It is thin for a tool whose whole purpose is discovery among many near-named siblings, but nothing critical to the call itself is missing.

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%, so both parameters are already documented (underlying format example BTC_USDT, expiration as a Unix timestamp). The description only restates that an underlying is the subject and says nothing about the optional expiration filter. Baseline 3 applies when the schema carries the load.

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 gives a specific verb and resource ("List all options contracts") scoped to an underlying, which is unambiguous on its own. However, it never distinguishes itself from close siblings like cex_options_get_options_contract (single contract) or cex_options_list_options_expirations, so an agent must infer the boundary from the tool name alone.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

There is no explicit when-to-use statement, no prerequisite, and no named alternative. The phrase "for an underlying" implies it is the per-underlying enumeration step, but nothing tells the agent when to prefer this over get_options_contract or how it relates to the expirations listing.

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.