Skip to main content
Glama

clearly_delete

DestructiveIdempotent

Remove an artifact. ARCHIVES BY DEFAULT — recoverable, and repeating it is harmless. Pass permanent: true to destroy irreversibly; a type with no archive is refused unless you do. Archived artifacts stay addressable by key. restore: true reverses archival. batch supports several removals.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "clearly_delete"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeNoOverride the type when the target carries no extension.
batchNoRemove several: `[{ target, type? }, …]`. Max 50.
targetNoPath, key or id.
restoreNoUn-archive instead of archiving. Cannot be combined with `permanent`.
permanentNoDefault false. True destroys irreversibly instead of archiving.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior5/5

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

Beyond the annotations it discloses the critical default (archiving, recoverable), that repetition is harmless, that a type without an archive is refused unless permanent is set, and that archived items stay addressable by key. This tells the agent exactly what is destroyed, what is recoverable, and how the refusal case behaves — information the hints alone 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?

The most important fact — ARCHIVES BY DEFAULT — is front-loaded and emphasized, and every following clause covers a distinct parameter or behavior with no repetition. Roughly four dense sentences with zero filler.

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 five-parameter mutation tool with no output schema, the description covers default behavior, the destructive path, restore, batch, and the type-override refusal case. It is close to complete, though it doesn't say what a batch result looks like or whether partial failures are reported per item.

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 the schema already explains `permanent`, `restore`, `batch`, `target`, and `type`. The description reinforces the archive/permanent distinction and adds the consequence that archived artifacts remain addressable, but adds little syntax or interaction detail beyond the structured fields. 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?

"Remove an artifact" states a specific verb and resource, and the body immediately qualifies the mode of removal (archive vs. permanent). It does not distinguish itself from sibling deletes like clearly_canvas_delete or clearly_component_delete, so an agent must infer scope from the word "artifact".

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 gives clear conditional guidance: default to archive, pass `permanent: true` only to destroy irreversibly, use `restore: true` to reverse archival, and use `batch` for multiple removals. It does not name any alternative tool or say when another delete tool is preferred, which keeps it short of a 5.

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.