Skip to main content
Glama
daniil-shumko

Cloudflare Workers MCP Server

Delete Worker

delete_worker
Destructive

Permanently deletes a Cloudflare Worker script, including all versions, deployments, and static assets. Use force to delete even when other resources depend on it.

Instructions

Permanently delete a Worker script, including its versions, deployments, and any static assets. Set force to delete even when other resources depend on it.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
forceNoDelete even if other resources (e.g. routes) depend on the Worker
script_nameYesThe name of the Worker script to delete
Behavior4/5

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

Annotations already declare destructiveHint=true, so the destructive nature is known. The description adds valuable behavioral context beyond annotations by specifying exactly what gets permanently deleted (versions, deployments, static assets) and the force behavior. This gives the agent a clearer picture of the operation's impact.

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 description is two sentences, front-loaded with the main action and resource. It packs important details (permanence, scope of deletion, force condition) without any wasted words. Every sentence earns its place.

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?

Given the tool's simplicity (2 params, no output schema) and strong annotations, the description fully covers necessary context: what is deleted, when force is needed, and the irreversible nature. There are no significant gaps for an agent to invoke it correctly.

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%, so both parameters are already well-documented. The description adds no additional parameter semantics beyond restating the force condition, which is already in the schema. Baseline 3 is appropriate since the schema carries the load.

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 clearly states a specific action ('Permanently delete') with a specific resource ('a Worker script') and details its scope ('including its versions, deployments, and any static assets'). This distinguishes it from sibling tools like delete_worker_domain, which deletes only a domain.

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 description provides clear context for when to use the tool: when you need to permanently delete a Worker and its associated resources. It also explains the force parameter behavior ('to delete even when other resources depend on it'). However, it does not explicitly mention alternatives or when not to use it, so it lacks the full exclusions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/daniil-shumko/cloudflare-workers-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server