Skip to main content
Glama

OnMusic Songwriter

Check lyrics

check_lyrics
Read-onlyIdempotent

Checks lyrics for singability: syllables per line, lines that won't fit the melody, rhyme scheme per section, chorus length, missing or unusual section tags, overused words and cliché rhymes, and an estimate of the sung length. Use it on lyrics the user or you wrote, before they are used in a music model.

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": {
      "lyrics": "<lyrics>"
    },
    "name": "check_lyrics"
  }
}

Input Schema

NameRequiredDescriptionDefault
genreNoOptional genre, e.g. "rap" allows longer lines.
titleNoOptional title; checked to appear in the chorus.
lyricsYesThe lyrics to check. Section tags like [Verse 1] and [Chorus] on their own lines help; otherwise blank lines separate stanzas.

Output Schema

NameRequiredDescriptionDefault
tipsYes
problemsYes
sectionsYes
rhyme_noteYes
total_linesYes
total_syllablesYes
estimated_sung_secondsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world behavior, so the safety profile needs no restating. The description adds genuine context beyond that: it discloses the analytical checks performed and the fact that results include a sung-length estimate, which tells the agent what kind of feedback to expect. It does not discuss cost, limits, or how findings are prioritized, keeping it below a 5.

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?

The action is front-loaded in the first two words, and the long checklist is a single dense clause rather than padding. The second sentence is a compact usage instruction. The enumerated list is long but every item is informative, so nothing is wasted.

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?

With rich annotations, a fully documented three-parameter schema, and an output schema, the description only needs to convey purpose and the analysis performed, which it does thoroughly. Return-value details and parameter behavior are covered elsewhere, so no material gap remains for an agent deciding whether and how to call it.

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 each of the three parameters (lyrics, genre, title) is documented in the schema itself. The description adds no parameter-level meaning of its own — it never mentions genre or title — so this sits at the baseline 3.

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 ('checks') on a specific resource ('lyrics') and then enumerates the exact dimensions analyzed: syllables per line, lines that won't fit the melody, rhyme scheme, chorus length, section tags, overused words, cliché rhymes, and sung length. That level of enumeration makes it unmistakable against siblings like build_song_prompt or get_song_structure, which produce or retrieve material rather than audit it.

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?

'Use it on lyrics the user or you wrote, before they are used in a music model' gives a clear triggering condition and a lifecycle position (pre-model). It stops short of naming an alternative tool or stating exclusions, so it does not reach the explicit when/when-not bar of a 5.

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.