Skip to main content
Glama

Get limits

get_limits
Read-only

Use this when the user asks how many new cards or reviews they get per day, or why a session stopped while cards remain. Shows today's study limits: the account defaults (new cards per day, max reviews per day, any extra new cards granted today) and every deck's override (null = inherits) with how many new and due cards it can still serve today.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
decksYes
accountYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedOutput schema / $defs / DeckLimitsOut / required
      Previous value: -[
      -  "name",
      -  "boost_today",
      -  "new_available",
      -  "due"
      -]New value: +[
      +  "name",
      +  "new_per_day",
      +  "reviews_per_day",
      +  "boost_today",
      +  "new_available",
      +  "due"
      +]
    • changedOutput schema / $defs / GoalOut / required
      Previous value: -[
      -  "date",
      -  "days_left",
      -  "passed",
      -  "on_track",
      -  "behind_by",
      -  "learned",
      -  "total"
      -]New value: +[
      +  "date",
      +  "days_left",
      +  "passed",
      +  "on_track",
      +  "behind_by",
      +  "new_per_day",
      +  "learned",
      +  "total"
      +]
  2. Changed2 schema fields changed
    • addedOutput schema / $defs / DeckLimitsOut / properties / goal
      Added value: +{
      +  "anyOf": [
      +    {
      +      "$ref": "#/$defs/GoalOut"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "Present when the deck has a goal date: while it is ahead, the\ngoal's pace stands in for new_per_day."
      +}
    • addedOutput schema / $defs / GoalOut
      Added value: +{
      +  "description": "A deck's goal date and how the deck stands toward it, over the deck\nand its subdecks.",
      +  "properties": {
      +    "behind_by": {
      +      "description": "New cards behind that plan; studying that many more today catches up.",
      +      "format": "uint32",
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    "date": {
      +      "description": "The date, YYYY-MM-DD, on the user's calendar.",
      +      "type": "string"
      +    },
      +    "days_left": {
      +      "description": "Days until it: 0 on the day, negative once it has passed.",
      +      "format": "int64",
      +      "type": "integer"
      +    },
      +    "learned": {
      +      "description": "Cards past their first learning steps.",
      +      "format": "uint32",
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    "new_per_day": {
      +      "description": "New cards a day until the last days before the date, which are kept\nfor review; null on the day and after.",
      +      "format": "uint32",
      +      "minimum": 0,
      +      "type": [
      +        "integer",
      +        "null"
      +      ]
      +    },
      +    "on_track": {
      +      "description": "Keeping to the plan made when the date was set.",
      +      "type": "boolean"
      +    },
      +    "passed": {
      +      "description": "The date has passed; the deck is studied as any other again.",
      +      "type": "boolean"
      +    },
      +    "total": {
      +      "description": "Cards in the deck and its subdecks.",
      +      "format": "uint32",
      +      "minimum": 0,
      +      "type": "integer"
      +    }
      +  },
      +  "required": [
      +    "date",
      +    "days_left",
      +    "passed",
      +    "on_track",
      +    "behind_by",
      +    "learned",
      +    "total"
      +  ],
      +  "type": "object"
      +}
  3. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint, destructiveHint=false, openWorldHint=false), so the description only needs to add meaning beyond that. It does: it discloses that overrides are reported per deck and that null means 'inherits', which is a semantic rule not derivable from annotations or the empty input schema.

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?

Two sentences, front-loaded with the usage trigger and followed by the payload description. Every clause carries information: the triggers, the account-level defaults, and the deck-level override rule. No filler or restatement of the name.

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?

An output schema exists and annotations are rich, so the description need only cover selection guidance and the ambiguous 'null = inherits' rule, which it does. Minor gaps remain, such as what 'today' means (timezone/day rollover) and how limits interact with an in-progress session, but nothing required to invoke a no-arg read tool 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?

The tool takes zero parameters, so the baseline is 4; there is nothing to mistranslate or omit. The description correctly avoids parameter talk and instead spends its words on output semantics.

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?

States a specific verb and resource ('Shows today's study limits') and enumerates the substance returned: account defaults (new/day, max reviews/day, extra new granted today) plus per-deck overrides. It implicitly contrasts with the mutating sibling set_limits, but never names an alternative, so it stops short of full sibling differentiation.

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?

Gives two concrete activation triggers: the user asking how many new cards or reviews they get per day, or asking why a session stopped while cards remain. There is no explicit when-not-to-use guidance or named alternative (e.g., set_limits for changes), which keeps it below a 5.

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.