Skip to main content
Glama

My trading permissions

get_my_trading_permissions
Read-onlyIdempotent

What this agent may do right now on TradeHub: autonomy level (read, propose = every order needs a person's approval, preauth = executes within limits), allowed venues, symbols and actions, per-trade and daily limits, today's usage, connected venues and whether trading is halted. Use first in every session and after any rejection that mentions your mandate. Not for account balances (use get_my_balances). No inputs. Limits are fractions of equity or USD. Only a person can widen them, on the Web, and widening waits 24 hours. Next: size_position or get_my_positions.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
todayYesorders_today and realized_pnl_today (USD) for this agent, UTC day
scopesYesOAuth / API key scopes this caller holds
mandateYesThis agent's trading permissions (its mandate): level (read / propose / preauth), venues, symbols, actions, max_risk_pct (fraction of equity at stop), max_leverage, max_notional_usd, max_positions, daily_loss_budget_usd, daily_order_limit, expires_at. null on a limit = only the user's global limit
delegationNoWho this agent acts for and where its rights come from
real_moneyNoFor an agent allowed only the sandbox: how it can come to trade real money
deprecationNoPresent only while this tool is deprecated: replacement, removal_date, changelog
trading_haltedYesTrue after a stop: no new positions until the person resumes (authenticator code, on the Web or in Telegram)
venues_connectedYesVenues the user has connected (sandbox is always there)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / properties / trading_halted / description
      Previous value: -"True after a stop: no new positions until a person resumes on the Web"New value: +"True after a stop: no new positions until the person resumes (authenticator code, on the Web or in Telegram)"
  2. Changed21 schema fields changed
    • removedInput schema / title
      Removed value: -"get_my_trading_permissionsArguments"
    • addedOutput schema / properties / delegation / additionalProperties
      Added value: +true
    • removedOutput schema / properties / delegation / anyOf
      Removed value: -[
      -  {
      -    "additionalProperties": true,
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • removedOutput schema / properties / delegation / default
      Removed value: -null
    • removedOutput schema / properties / delegation / title
      Removed value: -"Delegation"
    • addedOutput schema / properties / delegation / type
      Added value: +[
      +  "object",
      +  "null"
      +]
    • addedOutput schema / properties / deprecation / additionalProperties
      Added value: +true
    • removedOutput schema / properties / deprecation / anyOf
      Removed value: -[
      -  {
      -    "additionalProperties": true,
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • removedOutput schema / properties / deprecation / default
      Removed value: -null
    • removedOutput schema / properties / deprecation / title
      Removed value: -"Deprecation"
    • addedOutput schema / properties / deprecation / type
      Added value: +[
      +  "object",
      +  "null"
      +]
    • removedOutput schema / properties / mandate / title
      Removed value: -"Mandate"
    • removedOutput schema / properties / real_money / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • removedOutput schema / properties / real_money / default
      Removed value: -null
    • removedOutput schema / properties / real_money / title
      Removed value: -"Real Money"
    • addedOutput schema / properties / real_money / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / scopes / title
      Removed value: -"Scopes"
    • removedOutput schema / properties / today / title
      Removed value: -"Today"
    • removedOutput schema / properties / trading_halted / title
      Removed value: -"Trading Halted"
    • removedOutput schema / properties / venues_connected / title
      Removed value: -"Venues Connected"
    • removedOutput schema / title
      Removed value: -"Permissions"
  3. Changed1 schema field changed
    • addedOutput schema / properties / real_money
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "For an agent allowed only the sandbox: how it can come to trade real money",
      +  "title": "Real Money"
      +}
  4. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive, closed-world), and the description goes well beyond them by explaining what the autonomy levels actually mean (propose = every order needs human approval; preauth = executes within limits), the units of limits (fractions of equity or USD), and the critical governance constraint that only a person can widen limits, on the Web, with a 24-hour delay. That last point materially changes how an agent should behave after a rejection.

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?

Front-loaded with purpose, then usage, exclusions, behavioral context, and next steps — no filler sentences. It is somewhat over-packed, with long multi-clause parentheses ('read, propose = every order needs a person's approval, preauth = executes within limits') that cost a little readability, but nothing is wasted.

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-input, read-only introspection tool with an output schema, everything an agent needs to decide to call it, interpret the result, and know it cannot self-modify its mandate is present. Return-value detail is legitimately left to the output schema.

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. The description still adds interpretation that no schema could carry — the meaning of the autonomy-level values and the units of the reported limits.

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 verb+resource ('What this agent may do right now on TradeHub') and enumerates the exact payload: autonomy level, allowed venues/symbols/actions, per-trade and daily limits, usage, connected venues, halt status. It also explicitly distinguishes itself from get_my_balances, so an agent can tell the two apart 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?

Gives an explicit trigger ('Use first in every session and after any rejection that mentions your mandate'), an explicit exclusion ('Not for account balances'), the named alternative to use instead, and a follow-on route ('Next: size_position or get_my_positions'). When-to-use, when-not, and alternatives are all covered.

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