Skip to main content
Glama

My trading limits (guardrails)

get_my_guardrails
Read-only

The user's app-set limits on max per trade, daily buy volume and market-cap range, allowed order types and pause state. Read-only. Use for "what can my agent spend", "what are my limits". READ-ONLY: you cannot change them, only the user. Read them before planning instead of learning by refusal.

  • maxTradeUsd / dailyVolumeUsd: per-trade and rolling-24h limits (null = uncapped). maxTradeUsd caps BUYS only. Sells into USDC (swaps and TP/SL/limit sells) never count or get blocked; other swaps count when placed or filled. A resting buy order reserves its value (dailyVolumeReservedUsd) until it fills or is cancelled. Room left = dailyVolumeUsd - dailyVolumeUsedUsd.

  • defaults_applied: Moby's defaults, not the user's.

  • minCapUsd / maxCapUsd: market-cap range for BUYS (null = no bound). Red safety tier buys are always refused.

  • orderTypes: what you may place (market = swaps, quick_buy, quick_sell); cancels are never blocked. paused: true = every trade is refused.

  • platform_limits: rate QUOTAS (0 = off, not blocked); usage.writes_today = USED today vs usage.daily_writes. app_links: settings, deposit. limits_note explains null/0.

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_guardrails"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedInput schema / title
      Removed value: -"get_my_guardrailsArguments"
  2. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Annotations already declare readOnly/destructive=false, and the description still adds substantial non-obvious behavior: only the user can change the limits, maxTradeUsd caps BUYS only, sells into USDC are never counted or blocked, resting buy orders reserve budget until fill/cancel, 0 in platform_limits means off rather than blocked, and paused=true refuses every trade. The room-left formula (dailyVolumeUsd - dailyVolumeUsedUsd) and the red-tier refusal rule are exactly the operational context annotations cannot convey.

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 purpose is front-loaded in one sentence, followed by bullets that each carry a distinct rule, so length is largely earned. Some field-by-field exposition overlaps with the existing output schema, and the all-caps READ-ONLY restates the readOnlyHint annotation, which is mild redundancy rather than waste.

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 complex, policy-driven domain the description covers what an agent needs before placing an order: buy vs sell asymmetry, reservation math, pause behavior, and quota interpretation. The one material gap is that it never positions itself against the similarly named get_my_limits sibling, so an agent cannot be fully confident it has chosen the right limits tool.

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?

Zero parameters, so the baseline is 4. The description spends its detail on return-field semantics (null = uncapped, 0 = off, defaults_applied = Moby defaults not the user's) rather than on inputs, which is appropriate here and exceeds the minimum without being required.

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 names a specific resource and enumerates its contents (max per trade, rolling daily buy volume, market-cap range, allowed order types, pause state), so an agent knows exactly what it returns. It does not differentiate itself from the sibling get_my_limits, whose name suggests overlapping subject matter, leaving a routing ambiguity. Clear verb+resource, but no sibling differentiation keeps it off a 5.

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

Usage Guidelines4/5

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

It gives concrete usage triggers ("what can my agent spend", "what are my limits") and a strong prescriptive rule: read them before planning instead of learning by refusal. What it lacks is any when-not condition or explicit alternative — notably it never says how this differs from get_my_limits, so an agent facing two limits-shaped tools gets no disambiguation.

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