Skip to main content
Glama
talkincode

HyperLiquid MCP Server

by talkincode

modify_order

Modify an existing order by providing the trading pair, order ID, new size, and new price to update your position on HyperLiquid.

Instructions

Modify an existing order

Args: coin: Trading pair order_id: Order ID to modify new_size: New order size new_price: New order price

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
coinYes
new_sizeYes
order_idYes
new_priceYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior1/5

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

With no annotations, the description must fully disclose behavior, but 'Modify an existing order' is essentially a tautology. It does not explain preconditions, what fields are mutable, whether updates are partial or full, or what errors can occur.

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?

The description is concise and front-loaded with the main action, and the argument list is easy to scan. It could be more structured, but no words are wasted.

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

Completeness2/5

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

Given four required parameters, no annotations, and only a bare output schema, the description is incomplete. It does not state when to use the tool, whether the order must exist, or what the response contains, leaving the agent under-informed.

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?

The description adds minimal semantic value by listing each parameter with a brief definition (e.g., 'coin: Trading pair'), which the schema lacks. However, it fails to explain relationships between parameters, format constraints, or optionality beyond the schema's required flags.

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 phrase 'Modify an existing order' clearly states the action and resource, distinguishing it from sibling tools like 'cancel_order' and 'place_limit_order'. However, it does not explicitly differentiate from similar modification tools like 'update_leverage' or 'set_take_profit'.

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?

The description gives no guidance on when to use this tool versus alternatives. It does not mention that it is for changing size/price, nor does it contrast with cancel or other order-related operations.

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/talkincode/hyperliquid-mcp-python'

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