Skip to main content
Glama

Delete a design

delete_design
Destructive

Move a design (or a board workspace) to the trash: it leaves list_designs and the web app, and restore_design brings it back. permanent deletes it with no trash to restore from. Refused while a run on it is in progress. The CLI: koppar delete <design>.

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": {
      "design_id": "<design_id>"
    },
    "name": "delete_design"
  }
}

Input Schema

NameRequiredDescriptionDefault
design_idYesThe design id returned by create_design or list_designs.
permanentNoRemove it now, with no trash to restore from (default false).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • removedInput schema / properties / design_id / pattern
      Removed value: -"^[A-Za-z0-9_-]{8,80}$"
  2. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations only say destructiveHint=true, which alone would suggest an irreversible operation; the description corrects that by explaining the trash/restore cycle and that only `permanent` is unrecoverable. It also discloses the in-progress-run refusal, which is real behavioral context not present in the annotations. It stops short of describing what the response returns, but no output schema exists to cover that gap.

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?

Four compact clauses, front-loaded with the effect and then the alternatives and constraints; nothing is buried. The trailing CLI line is marginal for an agent but is short and non-distracting.

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 two-parameter destructive tool with no output schema, the description covers effect, reversibility, the permanent variant, the sibling that restores it, and the precondition that blocks it. Nothing an agent needs in order to call it safely 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?

Schema coverage is 100%, so both `design_id` and `permanent` are already documented, and the description largely restates the `permanent` semantics. The one piece of added meaning is that `design_id` may also refer to a board workspace, which goes slightly beyond the schema's 'design id returned by create_design or list_designs'.

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?

The description uses a specific verb and effect: 'Move a design (or a board workspace) to the trash', immediately clarifying that the default operation is a soft delete rather than an irreversible one. It names what the resource disappears from ('list_designs and the web app'), which distinguishes it from the retrieve/list siblings.

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

Usage Guidelines5/5

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

It states the two usage modes explicitly — default soft delete versus `permanent` with no trash — and names `restore_design` as the reversal path. It also gives a hard precondition ('Refused while a run on it is in progress'), so an agent knows a blocking condition in advance.

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