Skip to main content
Glama

Delete a link

delete_link
DestructiveIdempotent

Delete a link and its stats for good. The short address stops working and cannot be used again. This cannot be undone, so confirm with the person first. To keep the stats, use archive_link instead.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "delete_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoThe link's id, as returned by list_links or shorten_link. Give either id or code.
codeNoThe link's code (the part after siz.la/) or its full short address. Give either id or code.

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 declare destructiveHint=true and idempotentHint=true, but the description adds real consequences beyond them: the short address stops working permanently and cannot be reused, and the action is irreversible. This is the kind of context an agent needs before a destructive call.

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?

Four short sentences, each carrying distinct information (effect, consequence, warning, alternative), with the destructive consequence front-loaded. No wasted wording.

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?

For a two-parameter destructive tool with no output schema and full schema coverage, the description covers everything needed: what is destroyed, irreversibility, and the safer alternative. Nothing material is missing.

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 id and code are already documented in the input schema. The description adds no further meaning about the either/or relationship or accepted formats, 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 link') plus the scope of what is removed ('and its stats'). It also names the sibling alternative, archive_link, so the agent can distinguish this from the non-destructive option without opening either schema.

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

Usage Guidelines5/5

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

Explicitly routes the agent: use archive_link if stats should be kept, and confirm with the person before calling. That covers when to use, when not to, and the prerequisite for a destructive 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.