Skip to main content
Glama

Delete terminal tab

delete_terminal_tab
DestructiveIdempotent

Delete a terminal tab owned by the signed-in user and its saved layout. The platform prevents deleting the last tab. Use update_terminal_tab to change a layout instead.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesTab ID from list_terminal_tabs

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
deletedYesTrue once deleted; failures return an error instead

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / id / description
      Added value: +"Tab ID from list_terminal_tabs"
    • addedOutput schema / properties / deleted / description
      Added value: +"True once deleted; failures return an error instead"
  2. First observed

TDQS

A4.3/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 adds value beyond them by disclosing the non-obvious collateral effect (the saved layout is destroyed too) and a business rule (the last tab is protected), which the agent could not infer from structured fields.

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: the action and its destructive scope first, then the constraint, then the alternative. Every clause earns its place and nothing is padded.

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

Completeness5/5

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

For a single-parameter destructive tool with an output schema and annotations that already flag destructiveness, the description covers what is destroyed, what is prohibited, and where to go instead. Nothing an agent needs to call it correctly is missing.

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 and schema description coverage is 100% ('Tab ID from list_terminal_tabs'), so the schema fully carries parameter meaning. The description adds an ownership scoping implication but no format or sourcing detail beyond the schema, which is the expected baseline here.

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 (Delete), resource (terminal tab), and scope (owned by the signed-in user), plus the side effect that the saved layout goes with it. It also names the sibling update_terminal_tab and distinguishes its purpose, so an agent can separate this from the other terminal tools without opening schemas.

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?

It routes the agent explicitly to update_terminal_tab for layout changes, which is real when-to-use-this-instead guidance. It also states the platform-level constraint that the last tab cannot be deleted, though it doesn't state prerequisites such as required access level beyond 'owned by the signed-in user'.

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.

Resources