Skip to main content
Glama

packagecloud MCP by usefulapi

Delete (yank) package

packagecloud_delete_package
DestructiveIdempotent

WRITE, DESTRUCTIVE AND IRREVERSIBLE: delete one package file from its repository (a gem is yanked). Clients that depend on it will break. Pass the destroy_url of the package object and repeat its file name (the last path segment, for example jake-1.0-2.el6.x86_64.rpm) as confirm_filename. DELETE {destroy_url}.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
scopeNoOnly for a scoped Node.js package: the scope including the @, for example @example.
destroy_urlYesThe destroy_url of a package object, exactly as returned by the API (a /api/v1/repos/... path).
confirm_filenameYesThe package file name, exactly as in the last segment of destroy_url (the 'filename' field of the package).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true and readOnlyHint=false, but the description goes well beyond them by asserting irreversibility, warning that dependent clients will break, disclosing the confirmation-by-repeating-the-filename safeguard, and revealing the underlying call shape 'DELETE {destroy_url}'.

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 severity warning is front-loaded in capitals, followed by the effect, the confirmation contract, and the HTTP shape -- four dense sentences with no filler or repetition.

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?

With no output schema, nothing more is needed: for a destructive, irreversible operation the description covers consequences, the required confirmation parameter, and the request format, which is everything an agent needs to invoke it correctly.

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 description coverage is 100%, so a baseline of 3 applies, and the description adds genuine meaning: it explains why confirm_filename must repeat the last path segment (a deliberate guard) and gives a concrete example filename, rather than merely restating the schema.

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 states a specific verb and resource ('delete one package file from its repository') and immediately disambiguates with the domain gloss '(a gem is yanked)', which cleanly separates it from siblings like promote_package or get_package.

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 establishes the context in which this tool applies (removing a package file whose dependents will break) and gives an explicit calling instruction -- pass destroy_url and repeat the file name as confirm_filename. It does not name an alternative tool to use instead when the goal is only to move or archive a package, so it stops short of full when/when-not guidance.

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.