Skip to main content
Glama

disable_link

DestructiveIdempotent

Disable a short link by ID to stop its redirect and send visitors an error instead of the destination; pass disabled=false to re-enable it.

Instructions

Disable a short link so it no longer redirects. Pass disabled=false to re-enable. Destructive: visitors will get an error instead of the destination.

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": "disable_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesLink id (UUID) as returned by shorten_url, shorten_urls or list_links.
disabledNoDefault true (disable). Pass false to re-enable the link.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.0.5
    • addedInput schema / properties / disabled / description
      Added value: +"Default true (disable). Pass false to re-enable the link."
    • 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.8/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 openWorldHint=true, so the bar is lower, but the description still adds real value by spelling out what the destruction looks like in practice: visitors get an error instead of the destination. It omits auth requirements or rate limits, but the impact disclosure is more concrete than the boolean hint alone.

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, front-loaded with the action and its consequence, then the reversal option. Nothing is wasted or buried.

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 mutation with rich annotations and no output schema, the definition covers action, effect, and reversal adequately. The only missing context is how it relates to adjacent tools like delete_link or update_link.

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 both parameters are documented in the schema, including the disabled default and its meaning. The description merely restates 'pass disabled=false to re-enable' without adding format or edge-case detail, 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?

The description states a specific verb and resource ('Disable a short link') plus the concrete effect ('no longer redirects'), which distinguishes it from delete_link in spirit, though it never names the sibling that would remove or modify the link instead.

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?

It explains the re-enable path via disabled=false, which is useful conditional guidance, but it gives no explicit when-to-use/when-not guidance against delete_link or update_link, leaving the agent to infer that this is reversible soft-disabling versus removal.

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