Skip to main content
Glama

delete_bars

Remove a specified number of bars and their contents from a song, then close the resulting gap.

Instructions

Remove bars (and what is in them) and close the gap.

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": {
      "at_bar": "<at_bar>",
      "bars": "<bars>"
    },
    "name": "delete_bars"
  }
}

Input Schema

NameRequiredDescriptionDefault
barsYes
at_barYes
projectNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

C2.9/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose two real behaviors: contained material is destroyed and the timeline gap is closed (a ripple delete). It says nothing about reversibility, undo availability, partial failure, or what is returned, so a destructive mutation remains only partly characterized.

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?

A single front-loaded sentence with no filler, and the destructive scope appears early. It is efficient, though its brevity leaves the parameter questions entirely unaddressed.

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?

For a three-parameter destructive edit with no annotations and no output schema, the definition is thin. It should at minimum clarify the units/anchor of at_bar and bars and say whether the deletion is undoable.

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 description coverage is 0% and the description explains none of the three parameters. It is unclear whether "bars" is a count of bars to remove or something else, what "at_bar" anchors, and what "project" scopes. The schema leaves the agent to guess at the most consequential input.

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?

States a specific verb and resource ("Remove bars") and adds the important scope detail that bar contents go with them. This separates it from siblings like copy_bars or insert_bars. It stops short of 5 because the parenthetical is the only thing distinguishing it from a simple range clear.

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?

There is no explicit when-to-use or when-not-to-use guidance, no mention of undo/irreversibility, and no suggestion of a non-rippling alternative. The only usage-relevant signal is implicit: this is a destructive range edit that closes the gap.

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