Skip to main content
Glama

Get Usage Tool

get_usage
Read-only

Return the team's credit usage. One credit = one minute of source video processing; AI UGC generation draws from the same balance at a per-second rate of generated output. Returns credits_remaining (the current balance), trial_credits_remaining (how much of that is free-tier credit: the signup grant plus any live trial seed), and recent activity.

Each activity entry has a signed delta_minutes (the credit delta; negative = consumed, positive = added), the balance_minutes after it (the credit balance; field names are legacy), a reason and short description, an occurred_at timestamp, and the related video id (hashid) when the entry is tied to a video. Pass limit (1-100, default 20) to control how many recent entries are returned.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoHow many recent activity entries to return (1-100, default 20).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already mark readOnlyHint=true, so the description adds value by explaining credit accounting, field name legacy, and the structure of activity entries. It goes beyond the annotation to clarify exactly what data is returned and its semantics.

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 description is detailed but well-organized, with the core purpose upfront and explanatory detail in separate paragraphs. Each sentence earns its place; it could be slightly tighter but remains efficient.

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?

Since there is no output schema, the description fully specifies the return structure, field semantics, and parameter behavior. Nothing essential for invoking the tool correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema covers `limit` fully with a description matching the description text. The description repeats the range and default but adds no new meaning beyond the schema, so baseline 3 applies.

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?

States a specific verb ('Return') and resource ('team's credit usage'), defines the credit unit, and lists the returned fields. It is unique among siblings, and the purpose is unambiguous and immediately actionable.

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?

Provides clear context on what the tool returns and how to control it via `limit`, but does not mention any alternative tool because none exists. The guidance is implied and sufficient for the intended use case.

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