Skip to main content
Glama

Delete resource

drupal_delete_resource
Destructive

Delete a resource by UUID. JSON:API: DELETE /jsonapi/{entity_type}/{bundle}/{uuid} → 204 (empty body). Returns a small confirmation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
uuidYesThe entity UUID (JSON:API uses the UUID, never the numeric id).
bundleYesThe bundle machine name, e.g. "article", "tags", "user".
entity_typeYesThe entity type machine name, e.g. "node", "taxonomy_term", "user".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, so the safety profile is covered. The description usefully adds the underlying endpoint and the 204/empty-body response behavior plus a brief note on the return payload, but says nothing about permissions, auth requirements, or error cases (404/403) for a mutation tool.

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?

Two short sentences, front-loaded with the core action and followed by the technical detail. Every clause carries information and there is no 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?

The description covers the action, the required identifier, the wire endpoint, and the response shape, which is enough for a simple three-parameter delete with a fully documented schema. It is only slightly thin on failure/permission behavior.

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%, and all three parameters (entity_type, bundle, uuid) are already documented with examples in the schema. The description adds no syntax or constraint detail beyond what the schema provides, 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 ('Delete a resource by UUID') and pins down the exact REST mapping, which unambiguously separates it from the create/get/update/list siblings. An agent can identify this as the delete operation without opening the schema.

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?

The description says nothing about when to use this versus drupal_update_resource, nor does it warn that the operation is irreversible or that the resource must already exist. For a destructive operation, the absence of any when/when-not guidance is a real gap.

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.