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

A3.8/5.0
Behavior4/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 real behavioral context beyond that: the credit economy (one credit = one minute of source video, AI UGC billed per second of output) and the signed-delta convention for activity entries.

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 front-loaded with the purpose and credit semantics before drilling into return fields. It is long, but the dense field enumeration is justified because no output schema exists; only the restated `limit` range is mildly redundant.

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?

With no output schema, the description carries the full burden of documenting the return shape and does so thoroughly: credits_remaining, trial_credits_remaining, and every field of each activity entry including the legacy field-name caveat. Nothing an agent needs to interpret the response 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 description coverage is 100% and the single `limit` parameter is fully documented in the schema with the same range and default the description repeats. The description adds no syntax or format information beyond that, so the baseline of 3 applies.

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 opens with a specific verb+resource ('Return the team's credit usage') and immediately defines what a credit means, so the tool's purpose is unmistakable. It does not differentiate from the potentially adjacent get_account sibling, which the rubric requires for a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied – an agent can infer this is the tool to call when it needs the team's remaining balance or recent credit activity. There is no explicit when-to-use statement and no mention of alternatives such as get_account, so the guidance is adequate but thin.

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