Skip to main content
Glama

URLinks

edit_link

Destructive

Update a shortlink's destination URL or description.

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": {
      "shortlink": "<shortlink>"
    },
    "name": "edit_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNoNew destination URL (omit to keep current)
shortlinkYesThe shortlink to edit (e.g., 'my/docs')
descriptionNoNew description (omit to keep current)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false and destructiveHint=true, so the description needs to explain *why* this edit is destructive — e.g. that changing the destination silently breaks printed QR codes, existing shares, or click history, and that the change is immediate. None of that context is provided; the description merely restates the mutation already visible in the annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with no filler, so an agent gets the gist immediately. It is arguably too terse rather than padded, which costs it nothing on this dimension.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 3-parameter mutation tool with no output schema, the definition is minimally adequate: the schema covers the parameters and the annotations cover the safety profile. It is missing the one thing the structured data cannot convey — the real-world consequence of repointing a shortlink and what the response confirms.

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 that omitting url or description keeps the current value, so the baseline is 3. The description adds nothing beyond naming the two optional fields, but it does not contradict or omit anything either.

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 gives a specific verb ('Update') and resource ('shortlink') plus the two mutable fields (destination URL, description), which cleanly separates it from create_shortlink, delete_link, and update_alias. It stops short of naming any sibling, but the resource+field framing is enough to identify the tool.

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?

Usage is only implied: an agent can infer this is the tool for changing a link's target or label, but there is no explicit statement of when to prefer it over update_alias, bulk_create_links, or delete/create. No prerequisites (ownership, existing shortlink) or exclusions are given.

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.