Skip to main content
Glama

get_agent_limits

Read-onlyIdempotent

The limits the owner of the linked Lightning Faucet account set for place_bet and play_dice: whether each tool is on, the per-bet and per-day caps in sats, what has been staked in the last 24 hours and what is left, plus the deposited cash balance. Read only. Needs an operator key linked with link_account.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so 'Read only' in the text is redundant. The genuine added value is the authentication requirement — an operator key tied to an account linked via link_account — which annotations do not express. No pagination, latency, or error behavior is disclosed, though for a zero-param getter that 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 core sentence is long but information-dense and front-loaded with the resource; the two follow-up fragments (read-only, auth requirement) are short and purposeful. The only wasted token is 'Read only', which merely restates the readOnlyHint annotation.

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?

There is no output schema, so the description carries the burden of describing what comes back, and it does so comprehensively: toggles, caps, 24-hour usage, remaining allowance, and balance. Combined with the stated auth prerequisite, an agent has everything needed to decide to call it and to interpret a successful response.

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 takes no parameters, so per the baseline this scores 4. The description does not need to explain argument semantics, and it spends the space on return content instead, which is the right trade-off.

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 the specific resource (owner-configured limits for place_bet and play_dice) and enumerates exactly what is returned: per-tool on/off state, per-bet and per-day caps in sats, 24-hour staked amount, remaining allowance, and cash balance. It clearly distinguishes itself from the betting tools it describes limits for, so an agent can tell it is a read-only inspection endpoint.

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 states a concrete prerequisite ('Needs an operator key linked with link_account'), which both tells the agent when this call will succeed and routes it to the setup sibling first. It does not explicitly contrast with adjacent read tools like get_spend_policy, get_budget_status, or get_rate_limits, so the agent must infer the choice from the resource names.

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.