Skip to main content
Glama

Beggar Bot

perp_open_interest

Open interest by derivatives protocol (DefiLlama): OI USD, share, 1d/7d/30d change; order by size or 7d growth; chain/category filter. Paid: $0.02 USDC via x402.

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": "perp_open_interest"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainNochain filter
limitNomax rows (25)
orderNosize|growth
categoryNocategory filter

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does useful work: it names the upstream data source (DefiLlama) and discloses a monetary cost ('Paid: $0.02 USDC via x402'), which is critical pre-invocation context an agent cannot get elsewhere. It stops short of stating whether the charge is per call or on failure, and gives no error/latency behavior.

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?

A single dense sentence, front-loaded with the resource and data source, then return fields, then ordering, then filters, then pricing. Every clause carries information; nothing 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?

There is no output schema, so the description correctly enumerates the return fields itself, and it adds the payment requirement. Gaps are minor: no default limit, units, or empty-result behavior for a paid call.

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 coverage is 100%, so baseline is 3, and the description earns a bump by clarifying that the vague 'growth' enum actually means 7d growth and that chain/category act as filters. It says nothing about limit beyond the schema's own note.

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 specific resource and scope: 'Open interest by derivatives protocol (DefiLlama)' plus the returned metrics (OI USD, share, 1d/7d/30d change). That distinguishes it from asset-level siblings like okx_open_interest or crypto_options_open_interest, though it never names an alternative explicitly.

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?

The scope ('by derivatives protocol') and the ordering options imply when this tool fits, but there is no explicit when-to-use or when-not-to-use statement, and no routing to sibling open-interest tools. Usage is inferable rather than stated.

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.