Skip to main content
Glama

QRStuff MCP Server

Delete short link

delete_short_link
DestructiveIdempotent

Use this only when the user clearly asks to delete a short link. Permanently deletes it and marks the QR code made from it as deleted, so the address stops working. Confirm with the user first.

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": {
      "idshorturl": "<idshorturl>"
    },
    "name": "delete_short_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
idshorturlYesShort link ID from `list_short_links`. Never guess an ID.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the description doesn't need to restate danger; instead it adds real value by explaining the concrete consequence: the QR code is marked deleted and the address stops working. It doesn't cover behavior on a nonexistent or already-deleted ID, which is the one remaining unknown.

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?

Three short sentences, zero filler, and the critical gating condition plus confirmation requirement come before the side-effect explanation. Every sentence earns its place.

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 full annotation and schema coverage plus an output schema, the description covers purpose, precondition, and consequence well. Only error/edge-case behavior is left unspecified, which is minor here.

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 coverage is 100% and the idshorturl property already carries the key guidance ("from list_short_links. Never guess an ID."). The description adds nothing about the parameter, so baseline 3 applies.

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 ("Permanently deletes" a "short link") and describes the downstream effect on the associated QR code. It is clearly distinguishable from siblings like get_short_link or update_short_link, though it never names an alternative explicitly.

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?

"Use this only when the user clearly asks to delete a short link" plus "Confirm with the user first" gives an explicit use condition and a prerequisite gate. What's missing is routing guidance — e.g., pointing to update_short_link if the user only wants to disable or redirect rather than delete.

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.

Resources