Skip to main content
Glama
Derive MCP Server

Derive MCP Server

by yashhsm

get_all_instruments

Retrieve a paginated list of all instruments for a given type, such as options, perpetuals, or ERC20 tokens. Filter expired instruments and control page size for market data workflows.

Instructions

Paginated list of all instruments across currencies. Returns {instruments, pagination}.

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": {
      "instrument_type": "<instrument_type>"
    },
    "name": "get_all_instruments"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoPage number (default 1)
expiredNoInclude expired instruments
page_sizeNoResults per page (default 100)
instrument_typeYesInstrument type

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations exist, so the description carries the full behavioral burden. It does disclose pagination and the return shape ({instruments, pagination}), which is useful, but says nothing about authentication needs, rate limits, catalog size, or how the expired flag affects results.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

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

Two short sentences with zero padding; the pagination scope is front-loaded and the return keys are stated compactly. Nothing could be removed without losing information.

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?

For a simple, single-enum-parameter read tool with no output schema, the description covers purpose, pagination behavior, and the response keys. Minor gaps remain around auth requirements and what an 'instrument' record contains, but the essentials an agent needs to call it are present.

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 all four parameters are already documented in the schema, giving a baseline of 3. The description's mention of pagination weakly reinforces page/page_size but adds no semantics beyond the schema, such as what instrument_type values return.

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?

States a concrete verb and resource ('paginated list of all instruments across currencies') and the scope word 'all ... across currencies' hints at how it differs from get_instruments, which presumably is narrower. It stops short of explicitly naming the sibling, so an agent must infer the distinction.

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?

Usage is only implied: the word 'all' plus 'across currencies' suggests this is the broad catalog call, but there is no explicit when-to-use, when-not, or pointer to get_instruments for a narrower query. The agent has to work out selection from the name and scope phrase alone.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.