Skip to main content
Glama

Create several tracks

create_tracks

Creates several tracks at once in the game's Music folder (created with the first track) or in one of its subfolders: free, nothing is generated. Each track has a name (what it is in the game: Main theme, Forest, Boss fight), a prompt (how it sounds, sent to the model as is: English comma-separated tags such as genre, mood, instruments, tempo), a duration, loop AND the same form as generate_music, saved on the track so the site shows it before generating: genres (musical style), bpm, key_scale, time_signature, mode, instrumental/lyrics/language, vocal_level, voice, quality (a genre and a voice are also written into the prompt as words, as the site does). A name that already exists there is UPDATED with what you send (prompt, duration, loop and the form; what you omit stays): use it to fill or fix existing tracks. Returns each track with its page and the cost of generating it, plus the total per quality level: show the user the plan and the total, and after their yes generate them (generate_music with wait=false for each, then job_status).

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": {
      "game_id": "<game_id>",
      "tracks": "<tracks>"
    },
    "name": "create_tracks"
  }
}

Input Schema

NameRequiredDescriptionDefault
tracksYesThe tracks to create or update, 1 to 30. Creating is free; generate each one later with generate_music.
game_idYesThe game id, from list_games or create_game.
folder_idNoA subfolder of the Music folder (create_folder with section "music"). Omitted: the Music folder itself.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / game_id / description
      Added value: +"The game id, from list_games or create_game."
    • addedInput schema / properties / tracks / description
      Added value: +"The tracks to create or update, 1 to 30. Creating is free; generate each one later with generate_music."
    • addedInput schema / properties / tracks / items / properties / name / description
      Added value: +"What the track is in the game (Main theme, Forest, Boss fight). Up to 60 characters; a name that already exists is updated."
    • addedInput schema / properties / tracks / items / properties / prompt / description
      Added value: +"How it sounds, sent to the model as written: English comma-separated tags (genre, mood, instruments, tempo)."
  2. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only cover readOnly/destructive; the description adds the non-obvious behaviors an agent must know: the folder is created with the first track, an existing name is overwritten with only the fields you send while omitted fields persist, a genre and voice are injected into the prompt text, and the server refuses a duration longer than the plan allows. It also discloses the return shape (per-track page and cost, plus totals per quality level), which is essential for the 'show the plan first' workflow.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core facts (free, folder creation, upsert, show-total-then-generate) are front-loaded, but the middle sentence is a long run-on that re-lists every form field with nested parentheses and colons, duplicating the schema. Trimming that enumeration would make the same information far easier to scan.

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?

There is no output schema, and the description compensates by describing the return value (each track with its page and generation cost, plus totals per quality level). Combined with the upsert rules, the plan-limit refusal, and the follow-up generate_music/job_status handoff, nothing an agent needs to call this correctly is missing.

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% and the schema already documents name, prompt, duration, loop, genre, voice, mode defaulting, and the duplicate-name update. The description mostly re-enumerates those same fields, adding only the cross-field note that genre/voice words are written into the prompt — a point the schema also makes. Baseline 3 is appropriate when the schema carries the semantics.

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?

Opens with a specific verb and resource ('Creates several tracks at once in the game's Music folder ... or in one of its subfolders') and immediately distinguishes itself from generate_music by stating 'free, nothing is generated'. The upsert clause ('A name that already exists there is UPDATED') further pins down what the tool does versus a pure create.

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-to-use ('use it to fill or fix existing tracks'), when-not (nothing is generated here), and a concrete next-step sequence: show the user the plan and total, get a yes, then call generate_music with wait=false for each followed by job_status. The alternative and the ordering are spelled out rather than implied.

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