Skip to main content
Glama

add_section

Inserts a named song section at a specified bar and length with optional lyrics, enabling structured song arrangement in medit-mcp.

Instructions

A section marker (intro, verse, pre-chorus, chorus, bridge, drop, outro...) with optional lyrics.

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": {
      "name": "<name>",
      "bar": "<bar>",
      "bars": "<bars>"
    },
    "name": "add_section"
  }
}

Input Schema

NameRequiredDescriptionDefault
barYes
barsYes
nameYes
lyricsNo
projectNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

C2.4/5.0
Behavior2/5

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

No annotations are provided, so the description must carry the full behavioral burden. It only notes that lyrics are optional; it does not disclose whether adding a section is reversible, what permissions are needed, how it interacts with existing sections, or what the response contains.

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?

It is a single sentence with no wasted words, but it is a fragment lacking a verb and does not front-load the action. Still, it is appropriately concise.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given a mutation tool with five parameters (three required), no annotations, and no output schema, the description is far too sparse. It omits the action, most parameter semantics, and any behavioral context.

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

Parameters2/5

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

Schema coverage is 0%, so the description must explain all five parameters. It gives examples for the 'name' parameter (intro, verse, etc.) and notes that 'lyrics' is optional, but provides no meaning for 'bar', 'bars', or 'project'.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description is a noun phrase ('A section marker...') rather than a verb+resource statement. It implies the tool adds a section and gives examples of section types, but never explicitly states the action. It does not distinguish from siblings like set_section or remove_section.

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

Usage Guidelines2/5

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

No when-to-use guidance, no alternatives, no prerequisites. The description does not mention set_section or remove_section or when to choose add_section over them.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.