Skip to main content
Glama

delete_link

DestructiveIdempotent

Permanently removes a short link by its ID. Use it to clean up obsolete URLs; deletion is irreversible and cannot be undone.

Instructions

Permanently delete a short link. This cannot be undone.

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": {
      "id": "<id>"
    },
    "name": "delete_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesLink id (UUID) as returned by shorten_url, shorten_urls or list_links.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.0.5
    • addedInput schema / properties / id / description
      Added value: +"Link id (UUID) as returned by shorten_url, shorten_urls or list_links."
  2. First observedv1.0.4

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, idempotentHint=true, and readOnlyHint=false, so the safety profile is covered structurally. The description's "cannot be undone" reinforces destructiveness but adds nothing about side effects on analytics data, ownership requirements, or what happens when the id does not exist.

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 with zero filler, and the destructive consequence is front-loaded immediately after the action so an agent cannot miss it before invoking.

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?

For a single-parameter destructive tool with rich annotations and full schema coverage, this is nearly complete; only permission requirements and behavior on invalid ids are left unstated, both minor for this complexity level.

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?

Only one parameter, and the schema already documents it at 100% coverage including where the UUID comes from (shorten_url, shorten_urls, list_links). The description adds no further meaning, which is the expected baseline when the schema does the work.

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

Purpose4/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 short link") with the modifier "permanently," which hints at how it differs from the sibling disable_link. It does not name that sibling explicitly, so the differentiation is implied rather than stated.

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

Usage Guidelines3/5

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

The word "permanently" implicitly signals when this is appropriate versus a temporary disable, but the description never says so outright and offers no exclusions, prerequisites, or named alternatives.

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