Skip to main content
Glama

Apply a video effect

apply_effect

Turn a photo into a fun effect video, like Zombie Turn, Flying Car, Tiny Planet or Molten Gold, or a quick photo makeover like Clay Figure or Pixel Art. Videos take 1 to 3 minutes. Uses site credits with OAuth or USD with an API key; the tool quotes the price.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "effect": "<effect>"
    },
    "name": "apply_effect"
  }
}

Input Schema

NameRequiredDescriptionDefault
imageNoChatGPT only: the photo the user attached. Use image_url everywhere else.
effectYesWhich effect, by name or id. Popular: Zombie Turn, Flying Car, Tiny Planet, Molten Gold, Hyperdrive, Werewolf Turn, Costume Spin, Groove Dance. Call list_models with category effects to see all of them.
max_usdNoAPI key only: maximum approved USD as a decimal string with up to 9 fractional digits. Set currency to USD. Only set after the user confirms the quoted cost_usd. Never convert max_credits.
currencyNoBilling unit: USD for API keys; credits for OAuth (optional for existing OAuth clients).
image_urlNoThe photo to animate: a public https link, or a popnow:// link from an earlier result. A clear photo of one person works best.
max_creditsNoOAuth only: the most site credits the user agreed to spend on this. Only set it after the user confirmed a quoted price.
production_idNoOptional. Run this inside a production opened with open_production: it is paid from that production's budget and needs no separate approval while the budget lasts.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / production_id
      Added value: +{
      +  "description": "Optional. Run this inside a production opened with open_production: it is paid from that production's budget and needs no separate approval while the budget lasts.",
      +  "type": "string"
      +}
  2. Changed4 schema fields changed
    • addedInput schema / properties / currency
      Added value: +{
      +  "description": "Billing unit: USD for API keys; credits for OAuth (optional for existing OAuth clients).",
      +  "type": "string"
      +}
    • changedInput schema / properties / image / type
      Previous value: -[
      -  "null",
      -  "object"
      -]New value: +"object"
    • changedInput schema / properties / max_credits / description
      Previous value: -"The most credits the user agreed to spend on this. Only set it after the user confirmed a quoted price."New value: +"OAuth only: the most site credits the user agreed to spend on this. Only set it after the user confirmed a quoted price."
    • addedInput schema / properties / max_usd
      Added value: +{
      +  "description": "API key only: maximum approved USD as a decimal string with up to 9 fractional digits. Set currency to USD. Only set after the user confirms the quoted cost_usd. Never convert max_credits.",
      +  "type": "string"
      +}
  3. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already disclose non-readOnly, openWorld, non-idempotent, non-destructive, so the description's added value is the runtime (1 to 3 minutes) and the dual billing model (site credits under OAuth, USD under an API key) with an upfront price quote. Those are behavior facts an agent cannot obtain from the annotations and are essential for setting user expectations and choosing a billing path. It does not describe failure handling, cancellation, or how the finished video is retrieved.

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?

Three tight sentences: purpose with examples first, then latency, then cost model. Nothing is redundant or buried, though the billing sentence packs multiple ideas (credits, OAuth, USD, API key, quoting) into one clause and could be clearer if split.

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 7-parameter, nested-object, paid mutation tool with no output schema, the description covers purpose, latency, and cost mechanics well. The remaining gap is the return path: since no output schema exists, the agent is not told what a successful call yields or whether polling is required, which is the one meaningful omission.

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%, so the schema already explains every parameter including the approval flow for max_credits and max_usd. The description only echoes the effect names and the credits/USD split, adding little syntax or constraint detail beyond the schema, 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 gives a concrete verb+resource (turn a photo into an effect video) and backs it with named presets (Zombie Turn, Flying Car, Tiny Planet, Molten Gold, Clay Figure, Pixel Art), so an agent can distinguish this preset-driven transform from generic siblings like create_video or edit_video. It stops short of naming an alternative tool to route away to, which keeps it from 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 implied through the effect examples and the pointers to list_models with category effects for the full catalog, plus the note that image_url is the general path. However, there is no explicit when-to-use-this-vs-sibling guidance (e.g., versus create_video or anime_to_real) and no statement of exclusions or prerequisites for the effect run.

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.