Skip to main content
Glama

Update Link

update_link
DestructiveIdempotent

Change where one of your links goes, its title, expiry or redirect type.

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": {
      "ref": "<ref>"
    },
    "name": "update_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
refYesThe link id, its code, or the whole short URL.
urlNo
titleNo
expires_inNo
redirect_typeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior2/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 safety profile is known. The description adds no behavioral context beyond the field list — it does not say whether omitted fields are left untouched (partial update), whether changing the URL breaks already-printed QR codes or existing redirects, or that the change takes effect immediately.

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?

A single front-loaded sentence that names the resource and every mutable field with zero filler. Nothing is redundant or buried.

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 destructive, idempotent mutation with no output schema and low schema coverage, the description covers what can be changed but omits update semantics (partial vs full replacement), side effects on existing redirects/QR codes, and error behavior for an invalid ref. Adequate but with clear gaps.

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?

With only 20% schema coverage, the description partly compensates by mapping prose to parameters: 'where one of your links goes' = url, 'title', 'expiry' = expires_in, 'redirect type' = redirect_type. It does not explain the expires_in format (relative duration string?) or what distinguishes the four redirect_type values, and 'ref' is documented only in the schema.

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?

States a specific verb ('Change') and resource ('one of your links') and enumerates the mutable fields: destination URL, title, expiry, redirect type. An agent can tell this edits an existing link rather than creating one. It stops short of distinguishing itself from update_qr_code/update_webhook, though those operate on clearly different resources.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No when-to-use or when-not-to-use guidance, no mention of alternatives such as delete_link for removal or expand_link for reading a destination. The only implicit signal is that the link must already exist ('one of your links'), which the agent must infer.

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.

Resources