Skip to main content
Glama

quota

Read-only

Check current usage, remaining limits, plan, and quota breakdown for the caller. FREE TO CALL — never counts against your quota, never blocked by it. Use this proactively when the user asks about usage or seems near limits.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
mcpYes
upstreamNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedOutput schema / additionalProperties
      Previous value: -trueNew value: +{}
    • changedOutput schema / properties / mcp / additionalProperties
      Previous value: -trueNew value: +{}
    • addedOutput schema / properties / upstream / propertyNames
      Added value: +{
      +  "type": "string"
      +}
  2. Changed4 schema fields changed
    • changedOutput schema / additionalProperties
      Previous value: -falseNew value: +true
    • changedOutput schema / properties / mcp / additionalProperties
      Previous value: -{}New value: +true
    • addedOutput schema / properties / mcp / properties
      Added value: +{
      +  "daily_limit": {
      +    "anyOf": [
      +      {
      +        "type": "number"
      +      },
      +      {
      +        "const": "unlimited",
      +        "type": "string"
      +      }
      +    ]
      +  },
      +  "monthly_limit": {
      +    "anyOf": [
      +      {
      +        "type": "number"
      +      },
      +      {
      +        "const": "unlimited",
      +        "type": "string"
      +      }
      +    ]
      +  },
      +  "plan": {
      +    "type": "string"
      +  },
      +  "price_per_month": {
      +    "type": "string"
      +  },
      +  "remaining_today": {
      +    "anyOf": [
      +      {
      +        "type": "number"
      +      },
      +      {
      +        "const": "unlimited",
      +        "type": "string"
      +      }
      +    ]
      +  },
      +  "reset_at": {
      +    "type": "string"
      +  },
      +  "suggested_upgrade": {
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  },
      +  "upgrade_url": {
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  },
      +  "used_today": {
      +    "type": "number"
      +  }
      +}
    • addedOutput schema / properties / mcp / required
      Added value: +[
      +  "plan",
      +  "used_today",
      +  "daily_limit",
      +  "remaining_today",
      +  "monthly_limit",
      +  "price_per_month"
      +]
  3. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": false,
      +  "properties": {
      +    "mcp": {
      +      "additionalProperties": {},
      +      "type": "object"
      +    },
      +    "upstream": {
      +      "additionalProperties": {},
      +      "type": "object"
      +    }
      +  },
      +  "required": [
      +    "mcp"
      +  ],
      +  "type": "object"
      +}
  4. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered; the description adds real value by disclosing the cost model (free, not counted against quota, never blocked), which is not derivable from the schema. It does not cover latency or freshness of the quota data, and the return shape is left to the output 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?

Three short sentences, each earning its place: what it returns, why calling it is cost-free, and when to reach for it. The most decision-relevant fact (free to call) is front-loaded immediately after the purpose statement.

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 full annotation coverage and an output schema, the description supplies everything an agent needs: purpose, cost behavior, and a usage trigger. Nothing about return values needs restating because the output schema carries that.

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 there is no parameter semantics to explain; the baseline of 4 applies. The description correctly implies a no-argument call by scoping everything to 'the caller'.

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?

Names a specific verb and resource set: 'Check current usage, remaining limits, plan, and quota breakdown for the caller.' The enumerated return contents and the 'for the caller' scoping make it unambiguous, and no sibling tool in the catalog overlaps with quota inspection.

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 a clear trigger: 'Use this proactively when the user asks about usage or seems near limits.' It also removes the main hesitation to calling it by stating it is free and never blocked. It stops short of explicit when-not-to-use guidance or naming an alternative, which is minor here since no alternative exists.

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