Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
estimate_costA

Estimate the credit cost of dubbing a video and check the credit balance.

Pricing is a flat 10 credits per minute for every tier (a tier only changes which features are available, not the price).

Args: minutes: Video length in minutes (0 < minutes <= 600). tier: "fast", "standard" or "professional".

Returns: JSON with credits, current balance and whether the balance is enough.

submit_dubbing_jobA

Submit a fully automatic dubbing job: a video URL in, a dubbed video out.

The server downloads the video, then runs speech recognition, speaker separation, translation, voice cloning/TTS and composition — no manual review step. Credits are charged up front based on the server-measured duration and refunded in full if the job fails.

The job runs in the background: use get_job_status to poll it, or wait_for_job to block until it finishes. Only one job per account may run at a time (a second submission returns HTTP 409).

Args: video_url: Publicly reachable http(s) video link (max 500 MB). target_language: Dubbing language, e.g. "ru", "en", "es" (depends on the deployment's supported set). tier: "fast", "standard" or "professional".

Returns: JSON with job_id, run_id, measured duration and the charged credits.

get_job_statusA

Check a dubbing job's status.

Once the status is "completed" the response also carries the dubbed video and subtitle download URLs. "failed" carries the error and means the credits were refunded.

Args: job_id: The job_id returned by submit_dubbing_job.

Returns: JSON with status ("processing" / "completed" / "failed" / "cancelled") and, for a completed job, final_video_url and subtitle_url.

wait_for_jobA

Block until a dubbing job reaches a final state, then return its result.

Convenience wrapper around get_job_status for callers that just want the finished video. Dubbing typically takes a small multiple of the video's own length, so keep the timeout generous.

Args: job_id: The job_id returned by submit_dubbing_job. timeout_seconds: Give up after this long (default 1800, max 7200).

Returns: JSON with the final status and, when completed, the output URLs.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources