Skip to main content
Glama

delete_canvas

DestructiveIdempotent

Manda un canvas a la papelera, como la app: se recupera con restore_from_trash.

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": {
      "canvas_id": "<canvas_id>"
    },
    "name": "delete_canvas"
  }
}

Input Schema

NameRequiredDescriptionDefault
canvas_idYesID del canvas
workspace_idNoUUID del workspace, o su nombre tal como lo dice el usuario ('Acme', 'el personal'). Omitir si el token ya tiene workspace fijo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and readOnlyHint=false, so the safety profile is covered structurally. The description adds genuinely new behavior: deletion is a trash move, not irreversible, and is recoverable via restore_from_trash. It doesn't mention permissions or side effects on canvas contents, which keeps it below a 5.

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?

One short sentence with zero waste; the operation and its recovery path are both front-loaded. Nothing is repeated from the title or annotations.

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 two-parameter destructive tool with full schema coverage, complete annotations and no output schema, the description supplies the one thing structured fields can't: the operation is a recoverable trash move. Permissions and behavior for already-trashed canvases are left implicit.

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 description coverage is 100%, with both canvas_id and workspace_id (including the omit-if-token-scoped rule) documented in the schema itself. The description adds no parameter-level meaning such as accepted ID formats or workspace name resolution, so the 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 and resource ('manda un canvas a la papelera'), and the 'como la app' framing pins down that this is a soft delete to the trash rather than a hard removal. It explicitly names restore_from_trash as the counterpart, so an agent can distinguish it from the restore sibling without opening either schema.

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?

The definition gives clear context for use: this is the recoverable trash operation, and undo goes through restore_from_trash. It does not state exclusions (e.g., when to prefer delete_artifact or how to handle an already-trashed canvas), so it falls short of full when/when-not guidance.

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