Skip to main content
Glama
diaorui

Jupiter Perps MCP Server

by diaorui

open_position

Open or increase leveraged perpetual futures positions on Solana using Jupiter Perpetuals. Specify asset (SOL/BTC/ETH), direction (Long/Short), USDC collateral, and leverage to execute trades.

Instructions

Submits a transaction to open a new position or increase an existing one. The protocol processes asynchronously (may take a few seconds) - use get_account_portfolio to verify. Returns transaction signature (for logging) and confirmation message.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
assetYesThe asset to trade
sideYesDirection of the trade
collateral_amountYesAmount of USDC to use as collateral (minimum: 10 USD, must be <= wallet balance)
leverageYesLeverage multiplier (added size = collateral * leverage)
Behavior4/5

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

With no annotations provided, the description carries the full burden and does well by disclosing key behavioral traits: it's a transaction submission (implies mutation/write), processes asynchronously with timing ('may take a few seconds'), and returns specific outputs (signature and message). It lacks details on permissions, rate limits, or error handling, but covers core behavior adequately.

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?

The description is front-loaded with the core purpose, followed by behavioral details and usage note, all in three concise sentences with zero wasted words. Each sentence adds essential value without redundancy.

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?

Given the complexity (transaction submission with 4 required parameters) and no annotations or output schema, the description is largely complete: it explains the action, asynchronous behavior, verification method, and return values. It could improve by mentioning prerequisites (e.g., wallet setup) or error cases, but covers the essentials well for the context.

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 the schema already documents all parameters thoroughly. The description adds no additional parameter semantics beyond what the schema provides (e.g., no extra context on asset selection or leverage implications), meeting the baseline of 3 for high schema coverage.

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 specific action ('Submits a transaction to open a new position or increase an existing one'), identifies the resource (position), and distinguishes from siblings like close_position (which closes) and estimate_open_position (which estimates without submitting).

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?

The description provides clear context for when to use it (to open/increase positions) and mentions using get_account_portfolio to verify after asynchronous processing. However, it does not explicitly state when NOT to use it (e.g., vs. estimate_open_position for simulation) or detail alternatives beyond verification.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/diaorui/jupiter-perps-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server