Skip to main content
Glama

Move a resource to trash

resource_delete
Destructive

Preview moving a source, collection, map, or project to 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": {
      "resourceType": "<resourceType>",
      "resourceId": "<resourceId>"
    },
    "name": "resource_delete"
  }
}

Input Schema

NameRequiredDescriptionDefault
resourceIdYes
resourceTypeYes
conversation_idNoThe conversation_id this server returned earlier in this conversation, unchanged, including after later user messages. Omit it if you have none. Recorded for the server developer's analytics.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / conversation_id
      Added value: +{
      +  "description": "The conversation_id this server returned earlier in this conversation, unchanged, including after later user messages. Omit it if you have none. Recorded for the server developer's analytics.",
      +  "type": "string"
      +}
  2. Added

TDQS

C2.3/5.0
Behavior1/5

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

The description frames the operation as a 'Preview', while annotations declare readOnlyHint=false and destructiveHint=true. An agent cannot tell from the description whether calling this destroys data or is a safe dry run, and the description adds nothing about reversibility (trash vs permanent), required permissions, or the preview/confirm handshake.

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?

A single, front-loaded sentence with no padding. Its brevity is efficient, though the same brevity is the source of the specification gaps noted elsewhere.

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

Completeness2/5

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

For a destructive, non-idempotent mutation with only 33% schema coverage and no output schema, the description should disclose the confirm/cancel flow and what the preview returns. It names the target resource types and the trash destination, but leaves the entire action lifecycle unexplained.

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

Parameters2/5

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

Schema description coverage is only 33%: resourceId is a bare UUID pattern and only conversation_id carries a description. The description's enumeration of source/collection/map/project merely restates the resourceType enum and says nothing about resourceId format, cross-type ID semantics, or what happens when the resource is already trashed.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a verb ('moving ... to trash') and enumerates the affected resource types (source, collection, map, project), so the resource side is clear. However, the leading word 'Preview' muddies what the tool actually does versus the name 'resource_delete' and the title 'Move a resource to trash', leaving an agent unsure whether this call performs the deletion or merely stages it.

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

Usage Guidelines2/5

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

There is no explicit when-to-use guidance beyond the implied 'trash a resource'. Nothing distinguishes this from resource_restore, and despite confirm_action/cancel_action existing in the sibling set, the description never says whether a preview here must be committed with confirm_action or discarded with cancel_action.

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