Delete a short link
dub_delete_linkDelete a short link. The URL stops resolving immediately and its analytics go with it. Dub: DELETE /links/{linkId}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| linkId | Yes | The link to delete. |
dub_delete_linkDelete a short link. The URL stops resolving immediately and its analytics go with it. Dub: DELETE /links/{linkId}.
| Name | Required | Description | Default |
|---|---|---|---|
| linkId | Yes | The link to delete. |
Changes observed during successful MCP inspections.
Input schema / $schemaPrevious value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations only supply destructiveHint=true, so the description earns real credit by disclosing the immediate effect ('URL stops resolving immediately') and the collateral loss of analytics. It stops short of permissions requirements, recoverability, or error behavior on an already-deleted link.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Three compact clauses, consequence front-loaded before the API mapping, with zero filler. Every sentence carries information.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a one-parameter destructive tool with no output schema, the description covers purpose, immediacy, and side effects. Nothing further is needed for an agent to invoke it correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100% and the single parameter's description ('The link to delete.') already covers it. The description adds no format or sourcing detail (e.g., whether linkId is the key or the slug), so baseline 3 applies.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
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') that cleanly separates it from the create/update/get link siblings, and the endpoint mapping (DELETE /links/{linkId}) reinforces the operation.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Deletion intent is implied and the irreversible consequence is stated, but the description never says when to use this versus dub_update_link or dub_list_links, nor any precondition (e.g., confirm the link exists first). Usage is inferable from the verb alone.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.