Skip to main content
Glama

Get API usage and credits

getvideoframes_get_usage
Read-onlyIdempotent

Read the caller's plan, credit balance (plan credits reset each period, pack credits never expire), limits, and recent ledger. Call this before creating a job if you need to know whether credits remain. Free accounts include 10 credits per month. The result includes where to buy more.

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

Input Schema

NameRequiredDescriptionDefault
api_keyNogvf_live_ key. Omit when the MCP connection is already authorized

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already establish this as a safe, idempotent read, and the description adds genuinely new behavioral facts: plan credits reset each period, pack credits never expire, free accounts get 10 credits per month, and the response points to where to purchase more. It does not discuss auth failure behavior or rate limits, but the added context is substantial for a read-only call.

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 tool's outputs are front-loaded in the first sentence and the usage rule follows immediately. Four short sentences, each carrying information, with only minor redundancy around credits.

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 one-parameter read-only tool with no output schema, the description fully covers what is returned (plan, balance, limits, ledger, purchase location) and when to call it. Only the relationship to the pricing sibling remains unaddressed.

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?

There is a single optional api_key parameter with 100% schema description coverage, so the schema already explains the gvf_live_ prefix and that it can be omitted on an authorized connection. The description only gestures at this via 'the caller's', adding little beyond the schema; baseline 3 is appropriate.

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 names a specific resource set: the caller's plan, credit balance, limits, and recent ledger. That is clearly distinguishable from job/frame tools in the sibling list, though it does not explicitly separate itself from getvideoframes_get_pricing, which an agent might plausibly confuse with credit information.

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?

It gives a concrete when-to-use rule: call before creating a job if you need to know whether credits remain. There are no explicit when-not conditions or named alternatives (e.g. get_pricing), so it stops short of full routing 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.

Resources