Skip to main content
Glama
Lumerin-protocol

@hashpower/mcp

Official

Get margin model

get_margin_model

Get portfolio margin, initial margin, maintenance margin, and liquidation rules for perps and futures to simulate orders.

Instructions

Portfolio margin / IM / MM / liquidation rules for perps and futures.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It only lists content categories and does not state whether this is a read-only query, how the rules are computed, whether they vary by contract, or what response format to expect.

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 a single compact sentence with no filler or repetition. It is front-loaded with the core subject matter, though it is a noun phrase rather than a complete explanatory sentence.

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

Completeness3/5

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

For a zero-parameter tool, the description is minimally sufficient, but it does not explicitly state what the returned model looks like or how it differs from closely related siblings like get_margin_status. Some ambiguity remains about the exact deliverable.

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 has zero parameters, so the baseline is 4. The description adds meaning by enumerating the conceptual areas the returned model covers, which is relevant context even though no parameter documentation is needed.

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 clearly identifies the resource as 'Portfolio margin / IM / MM / liquidation rules for perps and futures,' which is specific and distinguishes it from sibling tools like get_margin_status or get_market_rules. It lacks an explicit verb, but the title 'Get margin model' supplies the action.

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?

No guidance is given on when to use this tool versus alternatives such as get_margin_status, get_market_rules, or get_positions. There are no usage conditions, exclusions, or sibling references, leaving the agent to infer applicability from the name alone.

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