Skip to main content
Glama

Delete Short Link

aidelly_delete_short_link
DestructiveIdempotent

Permanently delete a short link: the /l/ redirect stops working and the link's click history is deleted with it. Irreversible. Link ids come from aidelly_list_short_links. Returns 404 for unknown ids and for links in another workspace alike. Retry-safe: a repeat call with the same idempotency_key returns the original result.

Input Schema

NameRequiredDescriptionDefault
idYes
queryNoOptional query overrides for endpoints with sparse parameter schemas.
brand_idNo
workspace_idNoWorkspace to operate in: the `id` of a workspace returned by aidelly_list_workspaces. Optional for read operations; required when creating content.
idempotency_keyYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / idempotency_key / example
      Added value: +"order-123:create-post:v1"
    • addedInput schema / properties / idempotency_key / maxLength
      Added value: +255
    • addedInput schema / properties / idempotency_key / minLength
      Added value: +1
    • addedInput schema / properties / idempotency_key / pattern
      Added value: +"^[\\x21-\\x7E]{1,255}$"
  2. Changed1 schema field changed
    • changedInput schema / properties / workspace_id / description
      Previous value: -"Workspace to operate in. Do not ask the user for this UUID — call aidelly_list_workspaces and use the `id` of the matching workspace. Optional for read operations; required when creating content."New value: +"Workspace to operate in: the `id` of a workspace returned by aidelly_list_workspaces. Optional for read operations; required when creating content."
  3. Added

TDQS

A4.7/5.0
Behavior5/5

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

Goes well beyond the annotations: it specifies exactly what is destroyed (redirect plus click history), that the action is irreversible, the 404 behavior for unknown ids and cross-workspace ids alike, and the idempotency contract that a repeat call with the same idempotency_key returns the original result. Annotations only carry the flags; the description explains their consequences.

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 compact sentences, no filler, and the destructive consequence plus irreversibility are front-loaded before the id-sourcing and error behavior. Every sentence carries information an agent needs.

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?

With no output schema, the description still supplies the effect, irreversibility, id provenance, error semantics (404 for unknown/cross-workspace ids), and idempotency guarantees. The only unstated detail is the exact success payload, which is minor for a delete operation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 40%, but the description compensates for the two required parameters: it sources `id` from aidelly_list_short_links and explains the retry semantics of `idempotency_key`. The optional `query` and `brand_id` overrides remain unexplained in both schema and description, and `workspace_id` is covered only by the schema.

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 precise verb+resource (delete a short link) and immediately qualifies the effect: the /l/<slug> redirect stops working and click history is removed. This is unambiguous versus the many other delete_* siblings in the toolset.

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?

Tells the agent where link ids come from (aidelly_list_short_links) and warns that the operation is irreversible, which is real usage context. It stops short of naming an alternative or an explicit when-not (e.g. archive vs delete), so it does not reach a 5.

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.