Skip to main content
Glama

Create sound for a spritesheet

createSpriteAudio

Generate a sound effect for a previously generated spritesheet animation. Pass, as spritesheet_video_url, the video_url you received from animateSprite, animateSpriteKeyframes, transferMotion, or editSpritesheet - it must belong to a spritesheet you generated within the last 7 days; arbitrary external videos are not accepted. Spritesheets generated with the hydra or ignis models already come with audio_url, so only call this for a spritesheet that has none or to replace the generated sound. Optionally add a prompt describing the sound you want. The job result is only the URL of the generated audio file, an MP3 or WAV (the URL's extension, .mp3 or .wav, says which); no video is returned. The audio is also attached to the spritesheet, so it appears as audio_url in listGenerations (type spritesheet), where the spritesheet keeps the request_id it was generated with. Pass an optional request_id to make this call idempotent and to find its job again; it must not be one you already used for another generation. Async generation job: returns {id, status} - poll getApiJob (job and credit contract: see the server instructions).

Credits: This endpoint consumes 3 credits per call.

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": {
      "requestBody": "<requestBody>"
    },
    "name": "createSpriteAudio"
  }
}

Input Schema

NameRequiredDescriptionDefault
requestBodyYesPayload for generating audio for a previously generated spritesheet animation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior4/5

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

Annotations only cover the safety profile (readOnlyHint=false, destructiveHint=false), while the description adds the 7-day validity window, the async job contract ({id, status} plus getApiJob polling), the side effect that audio is attached and surfaces as audio_url in listGenerations, and the 3-credit cost. Minor gap: nothing is said about failure modes or how a replacement sound interacts with an existing one beyond the re-tagging note. The idempotentHint=false annotation sits in mild tension with the request_id idempotency claim, though the description reconciles it as an opt-in mechanism rather than a contradiction.

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?

Dense but front-loaded: purpose, required input provenance, conditional usage, output shape, async contract, then credits. Nearly every clause carries operational information, though the long single paragraph (including the .mp3/.wav extension aside) could be segmented for faster scanning.

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?

For a nested-payload, async, no-output-schema tool, the description supplies everything needed: accepted input source, validity window, return shape (URL only, no video), polling tool, counterfactual usage rule, and credit cost. No output schema means the explicit statement of what the job result contains is doing real work.

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?

Schema coverage is already 100%, so the description is bonus value: it tells the agent where spritesheet_video_url must come from and its 7-day provenance rule, and that request_id must be unused and makes the call idempotent without re-tagging the spritesheet. The prompt parameter gets only 'describing the sound you want', which is roughly what the schema already says.

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 a specific verb and resource — 'Generate a sound effect for a previously generated spritesheet animation' — and names the exact upstream tools (animateSprite, animateSpriteKeyframes, transferMotion, editSpritesheet) whose output feeds it. This clearly separates it from generic siblings like createSoundEffect and createAudioTransform.

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 explicit when-not conditions: only call for spritesheets lacking audio or to replace existing sound (hydra/ignis already ship audio_url), and arbitrary external videos are rejected. It also routes the agent to the right input by naming the source tools that return the accepted video_url.

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.