Skip to main content
Glama

Save Singer from Song

beatra.music.personas.create_from_song
Idempotent

Save the singer of a track made by beatra.music.generate as a reusable persona (kind=style). Beatra picks the part where the singer is singing unless you send vocal_start_ms and vocal_end_ms. The track must have vocals and be generated without uploaded audio or video. Pass the returned persona_id to beatra.music.generate with model suno-6. Limited to 50 a day; call beatra.models.list for the price. This billable call consumes Beatra credits and creates an asynchronous task. Submit exactly once, then poll with beatra.tasks.get. Reuse the same client_request_id only for an identical retry.

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": {
      "source": "<source>",
      "client_request_id": "<client_request_id>"
    },
    "name": "beatra.music.personas.create_from_song"
  }
}

Input Schema

NameRequiredDescriptionDefault
sourceYesA track with vocals made by beatra.music.generate: its artifact, or the URL Beatra returned for it.
persona_nameNoName for the persona.
vocal_end_msNoThe 10–30 second vocal window the persona learns from. Leave both out and Beatra picks the part where the singer is singing; send only one and the other is set 30 seconds away.
persona_styleNoOptional style notes, up to 200 characters.
vocal_start_msNoThe 10–30 second vocal window the persona learns from. Leave both out and Beatra picks the part where the singer is singing; send only one and the other is set 30 seconds away.
client_request_idYesStable retry identity for this billable operation. Reuse only for the exact same generation arguments.
persona_descriptionNoWhat the singer sounds like.

Output Schema

NameRequiredDescriptionDefault
taskNo
errorNo
usageNo
statusNo
billingNo
task_idNo
terminalNo
artifactsNo
resolved_modelNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already declare a non-read-only, idempotent, non-destructive, open-world call; the description adds the details annotations cannot: it is billable and consumes credits, it is asynchronous, it is capped at 50 per day, and it must be submitted exactly once. Retry identity semantics are stated explicitly, which is exactly the operational context an agent needs for a mutation.

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?

Front-loaded with purpose, then constraints, then follow-on routing and retry policy — nearly every clause carries a fact. It is dense and runs five sentences, but no sentence is filler; the cost/rate-limit clause is the only one that could be trimmed without losing correctness.

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 an asynchronous, billable, prerequisite-heavy tool with seven parameters, the description covers preconditions, override behavior, limits, cost lookup, async polling, and retry identity. With an output schema present, it correctly omits return-shape explanation while still telling the agent to use the returned persona_id downstream.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is already 100%, so the baseline is 3, but the description adds real meaning beyond it: the vocal_start_ms/vocal_end_ms fields are framed as an optional override of Beatra's automatic singing-part detection, and the source is constrained to tracks generated without uploaded audio or video — a restriction absent from the schema's 'made by beatra.music.generate' wording.

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: save the singer of a track as a reusable persona with kind=style, and pins the track's provenance to beatra.music.generate. This clearly separates it from siblings like personas.enroll_voice (voice enrollment) and personas.list.

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 preconditions (track must have vocals, must be generated without uploaded audio/video) and explicit follow-on routing: pass persona_id to beatra.music.generate with model suno-6, call beatra.models.list for price, poll with beatra.tasks.get. The retry rule (submit exactly once, reuse client_request_id only for identical retries) is 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