Skip to main content
Glama

Credits & usage

get_usage
Read-only

Your team's remaining credits, plan, and 30-day grab counts. Check this to know when to top up (https://grabbit.live/app/billing).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
planYes
usageYes
top_upYesWhere to buy more credits.
creditsYes
environmentYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": {},
      +  "properties": {
      +    "credits": {
      +      "additionalProperties": {},
      +      "properties": {
      +        "prepaid": {
      +          "maximum": 9007199254740991,
      +          "minimum": -9007199254740991,
      +          "type": "integer"
      +        },
      +        "subscription": {
      +          "maximum": 9007199254740991,
      +          "minimum": -9007199254740991,
      +          "type": "integer"
      +        },
      +        "total": {
      +          "maximum": 9007199254740991,
      +          "minimum": -9007199254740991,
      +          "type": "integer"
      +        }
      +      },
      +      "required": [
      +        "subscription",
      +        "prepaid",
      +        "total"
      +      ],
      +      "type": "object"
      +    },
      +    "environment": {
      +      "enum": [
      +        "live",
      +        "test"
      +      ],
      +      "type": "string"
      +    },
      +    "plan": {
      +      "additionalProperties": {},
      +      "properties": {
      +        "expires_at": {
      +          "anyOf": [
      +            {
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "name": {
      +          "type": "string"
      +        },
      +        "status": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "name",
      +        "status",
      +        "expires_at"
      +      ],
      +      "type": "object"
      +    },
      +    "top_up": {
      +      "description": "Where to buy more credits.",
      +      "type": "string"
      +    },
      +    "usage": {
      +      "additionalProperties": {},
      +      "properties": {
      +        "grabs_last_30d": {
      +          "description": "All grabs, both environments.",
      +          "maximum": 9007199254740991,
      +          "minimum": -9007199254740991,
      +          "type": "integer"
      +        },
      +        "live_grabs_last_30d": {
      +          "maximum": 9007199254740991,
      +          "minimum": -9007199254740991,
      +          "type": "integer"
      +        }
      +      },
      +      "required": [
      +        "grabs_last_30d",
      +        "live_grabs_last_30d"
      +      ],
      +      "type": "object"
      +    }
      +  },
      +  "required": [
      +    "credits",
      +    "plan",
      +    "usage",
      +    "environment",
      +    "top_up"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds the data scope (credits, plan, 30-day counts), but since an output schema exists, this overlaps structured data and adds little independent behavioral context.

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 tightly written sentences: the first front-loads exactly what is returned, the second gives the actionable purpose plus a link. No filler; every clause earns its place.

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 zero-parameter read-only tool with a full output schema and clear annotations, the description covers what the agent needs to decide to call it. It hints at return values even though the output schema carries them.

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 disambiguate, and the description appropriately avoids inventing parameter detail.

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 states a specific resource and its contents: the team's remaining credits, plan, and 30-day grab counts. This clearly separates it from get_pricing and list_grabs, though it never explicitly names a sibling for contrast.

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?

"Check this to know when to top up" supplies a concrete decision context for invoking the tool. It gives no explicit exclusions or named alternatives, so it stops short of full when/when-not guidance.

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.