Skip to main content
Glama

YoutubeToText

Get minutes left

get_usage
Read-only

The minutes the user's account has left (remaining_minutes), its plan, and when the plan's minutes renew. Check it before a long video, a burned video (3x to 5x the length) or a playlist. A job larger than the balance runs as a preview of the first minutes only, unless extra_hours is true. More minutes: https://youtubetotext.ai/pricing/.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
planYesfree, creator, creator_plus or pro
intervalNoBilling interval; null on the free trial
plan_nameYesThe plan's name as the site writes it
period_endNoWhen the plan's minutes renew (UTC); null on the free trial
extra_hoursYesWhether the plan bills extra hours past its minutes instead of stopping. When true, a job larger than `remaining_minutes` still runs and is billed per started hour.
plan_minutesYesMinutes the plan includes per period (the free trial: once, ever)
credit_minutesYesMinutes left on purchased credit packs, which do not expire with the period
reserved_minutesYesMinutes held for jobs still running
plan_minutes_usedYes
remaining_minutesYesMinutes a new job can use right now: plan minutes plus credits, less what jobs still running will take. A job is charged per started minute of video, times 3 to 5 for burned video, plus 1x per translation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and non-destructive, so the safety profile is covered. The description adds genuinely new behavior: an oversized job degrades to a preview of the first minutes unless `extra_hours` is true. The only weakness is that it repeats the returned fields, which the output schema likely already declares.

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?

Front-loaded with the answer values, then usage triggers, then the edge-case behavior — a sound ordering with no wasted sentences. The trailing pricing URL is mildly promotional but short enough not to derail the reader.

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?

The tool is trivial to invoke (no arguments), an output schema exists so return values need not be restated, and the description still covers purpose, timing, and the insufficient-balance branch. Nothing an agent needs before calling is missing.

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 there is no parameter semantics to explain and the baseline is 4. The mention of `extra_hours` describes a flag on other tools rather than an argument here, which is useful context but not parameter documentation for this tool.

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 precisely what the tool returns (remaining minutes as `remaining_minutes`, the plan, and the renewal time) — a specific resource read that no sibling covers, since get_batch/get_transcription etc. deal with content rather than account balance.

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

Usage Guidelines5/5

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

Gives concrete when-to-use triggers: check before a long video, a burned video (with the 3x-5x length multiplier spelled out), or a playlist. It also explains what happens if the balance is insufficient, so an agent can decide whether to call this first rather than discovering failure mid-job.

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