Skip to main content
Glama

My risk limits and usage

get_my_risk_limits
Read-onlyIdempotent

The person's global risk limits (per-trade risk, daily / weekly / monthly loss, drawdown, leverage, open positions) and how much of each is used, across all exchanges, plus limit increases waiting to take effect. Use when a trade was rejected by a user-level limit or before planning several trades. Not for this agent's own permissions (use get_my_trading_permissions). No inputs. Fractions of equity and USD; real money and the sandbox are counted separately. Next: size_position.

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
bookYesreal or sandbox: the two are counted separately
as_ofYesISO 8601 UTC
equityYesEquity in this book, USD
limitsYesmax_risk_per_trade, loss limits and max_drawdown as fractions; max_leverage; max_open_positions; symbols
drawdownYesDrop from peak equity, as a fraction
deprecationNoPresent only while this tool is deprecated: replacement, removal_date, changelog
realized_pnlYesRealised profit or loss for day / week / month (UTC), USD
open_positionsYesNumber of open positions
trading_haltedYesTrue after a stop
pending_looseningYesLimit increases a person asked for that are not in force yet

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive behavior, so the description's job is to add scoping context — and it does: values are fractions of equity and USD, and real money versus sandbox are counted separately, which materially affects interpretation. It also warns that pending limit increases are included. It stops short of describing freshness or aggregation nuances, but with an output schema present that gap is minor.

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 content is front-loaded with scope, then exclusions, then units, then the next step — a sensible ordering with no filler sentences. The first sentence is dense with a long parenthetical list, which costs a little readability but every element carries information.

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

Completeness5/5

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

For a zero-parameter read tool with an output schema and full annotations, the description covers purpose, triggers, exclusion routing, unit conventions, sandbox-vs-real separation, and a follow-up step ('Next: size_position'). Nothing an agent needs to call this correctly is missing.

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?

There are zero parameters, so the baseline is 4, and the description confirms 'No inputs' so the agent does not look for filtering options. It also clarifies units (equity fractions and USD) which governs how the returned values should be read.

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 names a specific resource (the person's global risk limits and usage) and enumerates the covered dimensions: per-trade risk, daily/weekly/monthly loss, drawdown, leverage, open positions, plus pending limit increases. It explicitly marks its boundary against the closest sibling (get_my_trading_permissions), so an agent can distinguish the two without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives two concrete trigger conditions ('when a trade was rejected by a user-level limit' and 'before planning several trades') and an explicit exclusion with a named alternative ('Not for this agent's own permissions (use get_my_trading_permissions)'). That is the full when-to-use / when-not / alternative triad.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources