Skip to main content
Glama

Update a link

update_link
Idempotent

Update a bookmark's title, description, tags, URL, or collection. Unspecified fields stay; tags are fully replaced. Changing URL deletes saved copies and needs a confirmation token.

Instructions

Changes a bookmark. Fields that are not given stay as they are: the tool reads the link first and merges, because the underlying route replaces the whole record and would otherwise clear the title, description and every tag.

The tags argument REPLACES the tag list — pass the full set you want. Moving a link to another collection only works for the collection owner.

Changing the URL is destructive and needs a confirmation token: Linkwarden deletes every preserved copy of the old page (screenshot, PDF, readable text, single-file HTML) and starts over.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlNoNew URL — destroys the existing preserved copies
nameNoNew title
tagsNoReplacement tag list. Omit to keep the current tags, pass [] to remove all of them.
link_idYesNumeric id of the link — the "id" field returned by search_links, not its title or URL
descriptionNo
collection_idNoMove the link to this collection (owner only)
confirm_tokenNoConfirmation token from a previous call of this tool with the same arguments. Omit on the first call.
Behavior4/5

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

Description excels beyond annotations: idempotentHint is true, but description reveals the destructive nature of URL changes (deletes preserved copies) and the required two-step confirmation flow. Has no contradiction with 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?

Four sentences covering purpose, merge behavior, tag replacement, URL destruction, and collection ownership. Concise but front-loads key insight first. Could be even tighter by trimming redundancy with schema, but overall efficient.

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?

Given 7 parameters (1 required), high schema coverage, and annotations providing idempotentHint, the description covers all critical edge cases: destructive URL change, tag replacement, collection ownership, and confirmation flow. No output schema, but return value is implied by the mutation nature. Covers everything an agent needs to avoid errors.

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?

Although schema coverage is 86%, the description adds significant meaning for critical parameters: explains tags argument replaces the list (not additive), URL change is destructive, and confirmation token is a two-step flow. The collection_id parameter is explained as owner-only.

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?

The description clearly states the tool "changes a bookmark" and explains its merge behavior for partial updates. It distinguishes itself from other link tools by detailing the destructive URL change and tag replacement semantics.

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

Usage Guidelines5/5

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

Explicitly explains when to use (e.g., partial updates) and important caveats like tag replacement (not additive) and URL change requiring confirmation token. Implicitly distinguishes from create_link and other mutation tools.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ni-c/linkwarden-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server