Skip to main content
Glama

get_trader_leverage

Read-only

Retrieve the active leverage setting a trader uses for a specific coin on HyperLiquid by providing the trader wallet address and asset symbol.

Instructions

Get the active leverage setting a trader uses for a specific coin on HyperLiquid.

Input Schema

NameRequiredDescriptionDefault
coinYesAsset symbol
traderWalletYesTrader wallet address

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv4.11.3

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so safety is covered. The description adds only that the leverage setting is 'active' and scoped to a specific coin on HyperLiquid; it does not disclose what happens if the trader has no position or how errors are returned.

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, front-loaded sentence with no redundant or filler content. It is appropriately sized for a simple getter.

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 read-only tool with annotations and a fully described two-parameter schema, the description is largely complete. It could say more about the returned leverage value, but no output schema exists and the core operation is clear.

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 two required parameters are already documented. The description reinforces that the query is for a specific coin and trader but adds no syntax, format, or validation detail beyond the schema.

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 description states a specific verb and resource: getting a trader's active leverage setting for a specific coin on HyperLiquid. It is clear enough to distinguish from the sibling set_leverage by implication, but it does not explicitly name or contrast with that sibling.

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 implied by the read-only getter phrasing, but the description gives no explicit guidance on when to use this versus set_leverage or other account-state tools, and no prerequisites or exclusions are stated.

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

Deploy Server

Other Tools