Skip to main content
Glama
linkonda-mcp

linkonda-mcp

Delete a short link

delete_link
DestructiveIdempotent

Permanently deletes a short link: the URL immediately stops working, returns 404, and is removed from the account. Use pause instead if the link may be needed again.

Instructions

Delete a short link. This can't be undone: the short URL stops working immediately, anyone who already has it gets a 404, and the link leaves the account's list. Its short URL is never given to another link. Prefer update_link with paused:true if the link might be needed again. Requires an API key.

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

Input Schema

NameRequiredDescriptionDefault
slugYesThe link's short code (the part after the domain).
linkIdNoOptional. Needed only when more than one of your links uses this short code, on different hosts: the call then fails with SLUG_AMBIGUOUS and lists each link's linkId. Call again with the same slug and the linkId of the link you mean.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.1.4
    • addedInput schema / properties / linkId
      Added value: +{
      +  "description": "Optional. Needed only when more than one of your links uses this short code, on different hosts: the call then fails with SLUG_AMBIGUOUS and lists each link's linkId. Call again with the same slug and the linkId of the link you mean.",
      +  "type": "string"
      +}
  2. First observedv0.1.3

TDQS

A4.4/5.0
Behavior4/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 bar is lower, but the description still adds real context: the short URL 404s immediately for existing holders, the link disappears from the account list, the slug is never reassigned, and an API key is required. The only minor gap is that it says nothing about the SLUG_AMBIGUOUS failure path, though the schema covers it.

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?

Front-loads the action, then consequences, then the alternative, then the auth prerequisite. Every sentence carries distinct information with no filler or repetition.

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 two-parameter destructive tool with full annotations, no output schema, and complete schema docs, the description covers consequences, irreversibility, alternative, and auth. It is essentially complete, with only the ambiguity-retry behavior left entirely to the schema.

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% and the schema already explains both slug and the optional linkId, including the SLUG_AMBIGUOUS retry flow. The description adds no parameter-level meaning beyond that, so the baseline of 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 short link") and immediately distinguishes itself from the sibling update_link by naming it as the non-destructive alternative. An agent can identify this as the removal tool without inspecting the 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?

Gives an explicit when-not condition together with the alternative: "Prefer update_link with paused:true if the link might be needed again." It also frames the irreversibility that should drive the choice, leaving no inference required.

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