Skip to main content
Glama

Move files to the recovery bin

tarkle_delete_files
Destructive

Move up to 20 files to the recovery bin of a workspace. This is the app's delete: nothing is erased, and tarkle_restore_from_bin brings a file back within the plan's bin retention. Asks for confirmation first: the first call changes nothing and lists the files and the workspace; show them to the user, then call again with the same inputs and the confirmationCode. A file held by a share link is NOT deleted (that would also delete the link); tell the user to remove the link in Tarkle. Owners and Admins; other members only for files they uploaded themselves. A file that is protected (team folder, file request, system folder), sold, or held by a share link is refused with the reason.

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": {
      "workspaceId": "<workspaceId>",
      "fileIds": "<fileIds>"
    },
    "name": "tarkle_delete_files"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileIdsYesThe files to move to the bin, each a fileId from tarkle_list_files.
llm_modelNoThe model identifier you are running as, for example "claude-opus-4-8" or "gpt-5.2". Pass "unknown" if you are not certain. Recorded for the server developer's analytics.
workspaceIdYesThe workspace's id from tarkle_list_workspaces.
confirmationCodeNoThe confirmationCode from the first answer of this tool for the same inputs. Send it only after the user approved moving these files to the bin.

Output Schema

NameRequiredDescriptionDefault
deletedNo
notDeletedNo
recoverableNo

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and non-idempotent, but the description adds substantial behavior the annotations cannot convey: the operation is reversible via the bin retention window, and it uses a two-phase confirmation where the first call mutates nothing and returns a listing plus a confirmationCode to be replayed after user approval. That two-call protocol and the refusal reasons are exactly the kind of context annotations lack.

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?

The description is front-loaded with the core action and its reversible nature before moving to the confirmation protocol, permissions, and refusals. It is dense and each sentence carries a distinct behavioral fact, though the final paragraph packs several refusal categories together without much separation.

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?

Despite being a destructive, permission-gated, two-phase mutation, the description covers reversibility, the confirmation handshake, authorization rules, and every refusal condition; an output schema exists so return detail need not be restated. An agent has everything needed to invoke it correctly and to explain outcomes to the user.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description meaningfully extends the confirmationCode parameter by explaining that it must come from the first call for the same inputs and only be sent after user approval. It also reinforces the 20-file cap on fileIds and the workspace scoping, adding operational meaning beyond the schema text.

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 opens with a specific verb and resource ("Move up to 20 files to the recovery bin of a workspace") and immediately clarifies the semantics of "delete" for this app, which resolves any ambiguity with the destructive-sounding name. It names the sibling that undoes it (tarkle_restore_from_bin) and states the scope (per workspace, max 20 files).

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 gives explicit when-to-use context and, more importantly, when it will refuse: files held by a share link, protected files (team folder, file request, system folder), and sold files. It also states the permission rules (Owners/Admins; other members only their own uploads) and names restore as the recovery path, leaving little to inference.

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.