Skip to main content
Glama

List Perps contracts

perps_list_contracts
Read-onlyIdempotent

Read-only. Primary symbol-resolution source: map a user symbol (e.g. 'GRAM') to a numeric contract_id via base_asset/contract_name. Each contract also carries min_size_base, min_size_quote (minimum committed margin), step_size, tick_size, tpsl_buffer_pct, max_leverage, and fees needed to size and validate an order.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, so safety is covered; the description adds the behavioral detail that matters here, namely the per-contract payload (minimums, increments, tick size, TPSL buffer, leverage, fees). It does not discuss result ordering, completeness, or caching, which is why this is a 4 rather than 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?

Two sentences, front-loaded with the purpose and then the field inventory. The leading "Read-only." duplicates readOnlyHint=true, which is minor dead weight, but nothing else is wasteful.

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

Completeness5/5

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

With no output schema and no parameters, the description must carry the return-value burden, and it does: it names the identifying field (contract_id), the lookup keys (base_asset/contract_name), and the sizing/fee fields. An agent has everything needed to call it and interpret the result.

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?

The tool takes zero parameters, so there is nothing for the description to disambiguate. Baseline 4 applies; the description correctly spends its space on return fields instead of inventing parameter guidance.

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 concrete verb-and-resource picture: it lists Perps contracts and is the "Primary symbol-resolution source" mapping a user symbol like 'GRAM' to a numeric contract_id. The example and the explicit field inventory make it unmistakable what the tool returns and why it exists.

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 clearly signals the primary scenario: resolving a symbol before order sizing/validation, and points at the fields (min_size_*, step_size, tick_size, max_leverage, fees) that make that possible. It stops short of naming a competing sibling or stating a when-not (e.g. how to get a single contract by id), so it is strong context without explicit routing.

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