Skip to main content
Glama

clear_automation

Destructive

Clears a parameter's automation envelope on a Session clip, or all envelopes if no parameter is given. Reports whether an envelope existed and applies one undo step.

Instructions

Clear one parameter's envelope on a Session clip (clip + parameter), or every envelope on the clip when no parameter is given. Returns whether an envelope existed. One undo step.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
clipYesSession clip address, e.g. 'tracks/2/slots/0/clip'
parameterNoParameter address; omit to clear all envelopes on the clip

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.0.3

TDQS

A4/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and readOnlyHint=false, so the safety profile is covered. The description adds genuinely new context: that the call reports whether an envelope existed and that the change is a single undo step, which matters for a destructive mutation.

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?

Two tight sentences, no waste, with the operating scope front-loaded before the return-value and undo notes.

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?

No output schema exists, and the description covers the return value (whether an envelope existed) as well as the undo behavior. Complete enough for a two-parameter destructive tool, though it could note any permission or state prerequisites.

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 both parameters are already documented in the schema, including the 'omit to clear all' semantics. The description restates the same omission behavior without adding format or address syntax beyond the schema, so baseline 3 applies.

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 (clear) and resource (envelope on a Session clip) and distinguishes itself from siblings like get_automation and draw_automation. The dual-mode scope (single parameter vs all envelopes) is spelled out precisely.

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

Usage Guidelines3/5

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

Usage is implied by the verb and the two operating modes, but the description never explicitly says when to choose this over get_automation or draw_automation, nor states any prerequisite. Adequate but leaves routing to the agent.

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