Skip to main content
Glama

get_quota

Check remaining HeyGen API credits before generating videos to avoid interruptions. Returns quota in seconds and credits, billing 1 credit per 60 seconds.

Instructions

Check remaining HeyGen API credits before generating video. Returns remaining quota in seconds and in credits (HeyGen bills 1 credit per 60 seconds of rendered video).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

No annotations are provided, so the description carries the full burden. It transparently discloses the return values (remaining quota in seconds and credits) and explains the billing conversion (1 credit per 60 seconds). This is useful behavioral context, though it doesn't mention authentication or rate limits.

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?

The description is a single, front-loaded sentence that conveys the purpose, usage timing, and return format with no wasted words. Every clause earns its place.

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?

Given the tool's low complexity (no parameters, no output schema), the description fully covers what the agent needs: the purpose, when to call it, and what the response means. The billing explanation adds essential domain context.

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 has zero parameters, so the input schema is trivially complete. The description adds value by explaining the output semantics (seconds and credits), which is the only meaningful parameter-related context needed.

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?

The description clearly identifies the tool as checking remaining HeyGen API credits, using the specific verb 'Check' and naming the resource ('remaining HeyGen API credits'). It distinguishes itself from sibling tools like create_video and list_videos by focusing on quota specifically.

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?

The description explicitly says 'before generating video', providing clear guidance on when to use the tool. While it doesn't name alternatives, the context is sufficient given that no sibling tool serves a similar quota-checking purpose.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/carlosvidal/heygen-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server