Skip to main content
Glama

Remove a tab

remove_canvas
DestructiveIdempotent

Remove a canvas tab and all its blocks after confirming with propose_change; Home cannot be removed.

Instructions

Remove a tab and every block on it. Ask first with propose_change; Home cannot be removed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesThe canvas id, from the list of tabs.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the safety profile is covered. The description earns extra credit by disclosing the cascade effect (all blocks destroyed) and the Home tab restriction, which the annotations do not convey.

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 short sentences, front-loaded with the action and its consequence, then the precondition. No wasted words.

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?

For a single-parameter destructive mutation with annotations present and no output schema, the description covers the destructive scope of the block and the key constraint. It is essentially complete, missing only confirmation/caller guidance.

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?

Only one parameter with 100% schema coverage, and the schema already explains it is the canvas id from the tab list. The description adds no additional meaning about the id, so the baseline 3 applies.

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 ('Remove') and resource ('a tab'), and adds the important scope detail that every block on the tab goes with it. It does not explicitly distinguish itself from nearby siblings like clear_canvas or remove_component, so it stops short of a 5.

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?

Gives real routing guidance: use propose_change first, and Home is a hard exclusion. This covers an alternative and a when-not case, though it leaves the user-confirmation semantics of 'ask first' slightly ambiguous.

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