Skip to main content
Glama

AI Rap Generator

Make the song

create_song

Makes a song from the title, style and lyrics the user saw and confirmed in chat. The music service makes two versions with vocals; a card shows progress and plays them when ready, in a few minutes. Uses 2 of the user's credits.

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": {
      "title": "<title>",
      "style": "<style>",
      "lyrics": "<lyrics>",
      "vocal": "<vocal>"
    },
    "name": "create_song"
  }
}

Input Schema

NameRequiredDescriptionDefault
styleYesGenre, mood, tempo and instruments, e.g. 'boom bap, dusty drums, 90 BPM'. No artist or song names.
titleYesOriginal title
vocalYesThe voice: male, female, or no preference
lyricsYesThe full lyrics with section tags like [Verse 1], [Chorus], exactly as shown to the user

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Beyond the annotations (readOnly false, openWorld true, idempotent false), it discloses the cost (2 credits), the asynchronous nature (progress card, a few minutes), and the output shape (two vocal versions that play when ready). Cost and latency are exactly the traits an agent needs before committing.

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

Conciseness5/5

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

Three tight sentences, ordered by importance: what it does, what the user gets and when, then what it costs. No filler and no repetition of schema or annotations.

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 paid, asynchronous generation tool with no output schema, the description covers inputs, cost, latency and the resulting card. It would be stronger if it said what happens when generation fails or whether credits are refunded, but nothing needed to invoke it 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 coverage is 100%, so field meaning, lengths and the vocal enum are already documented. The description adds only the provenance constraint (values must match what the user confirmed), which is useful but doesn't deepen any individual parameter.

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?

A specific verb and resource ('Makes a song') plus the exact inputs (title, style, lyrics) make the operation unambiguous. It doesn't name a sibling to contrast with, but the read-only siblings (get_song, list_my_songs) are clearly different in kind, so an agent can still route correctly.

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

Usage Guidelines4/5

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

The description states a real precondition: the title, style and lyrics must be the ones the user 'saw and confirmed in chat.' That tells the agent to gather confirmation before calling. It stops short of explicit when-not guidance or naming an alternative path if the user wants changes.

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