Skip to main content
Glama

leverage_metrics

Retrieve gross and net leverage and margin utilization for an Interactive Brokers account to compare margin used with available margin and see cushion.

Instructions

Get leverage and margin utilization metrics: gross/net leverage, margin used vs available, cushion.

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

Input Schema

NameRequiredDescriptionDefault
accountNoAccount ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden. 'Get' implies a read-only operation and the metric list hints at the return payload, but nothing is said about whether the account parameter is optional or defaults to a primary account, what happens on an invalid account, or how stale the figures are — meaningful gaps for a financial metric tool.

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 verb and resource followed by the metric list. Every clause contributes information and there is no filler or 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?

For a simple one-parameter read tool with no output schema, the description usefully enumerates what is returned, which substitutes for the missing output schema. What remains missing is the optional-account behavior and any alternative-tool routing, but the core is sufficiently covered.

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 coverage is 100% and the single 'account' parameter is documented in the schema, establishing the baseline of 3. The description adds nothing about the account parameter — not whether omitting it is valid despite zero required parameters, nor what account scope the metrics cover — so it neither compensates nor detracts.

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 opens with a specific verb and resource ('Get leverage and margin utilization metrics') and enumerates the concrete fields returned: gross/net leverage, margin used vs available, cushion. An agent can tell this is a margin/leverage snapshot tool. It does not, however, differentiate itself from overlapping siblings such as buying_power or account_summary, leaving the boundary to inference.

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?

There is no explicit when-to-use guidance, no when-not-to-use exclusion, and no named alternative. The closest siblings (buying_power, account_summary, exposure_*) are never mentioned, so the agent must guess which tool answers a margin question. The enumerated metrics imply usage but do not state it.

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