Skip to main content
Glama

Change a share link

update_link
Destructive

Pause or resume a share link, or change its password, expiry or download limit.

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

Input Schema

NameRequiredDescriptionDefault
activeNofalse pauses the link, true resumes it
linkIdYesThe link id
passwordNoA new password, or null to remove it
expiresAtNoA new expiry (ISO 8601), or null to remove it
maxDownloadsNoA new download limit, or null to remove it

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 destructiveHint=true, idempotentHint=false and openWorldHint=true, and the description adds nothing beyond that profile — it merely restates the editable fields. It omits the consequential behaviors an agent needs: that setting null strips a protection, that changing a password breaks previously shared URLs, and whether omitted fields are left untouched. There is a mild tension too, since overwriting a field with a fixed value is effectively idempotent while the annotation says otherwise.

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 well-formed sentence with the action verb front-loaded and the mutable fields enumerated in a compact list. Nothing is redundant, though it is so terse that it reads as title restatement rather than guidance.

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 mutation with no output schema, the definition is minimally sufficient — the agent knows what it can change and that linkId is required. It leaves open whether the call returns the updated link, whether unspecified fields are preserved, and what permissions are needed, all of which matter for a destructive operation.

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 each parameter documents its own semantics including the null-to-remove convention and the active=false pause meaning, so the schema does the heavy lifting. The description adds no syntax, format or interaction detail (e.g. that password and expiry are overwritten rather than appended).

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 names a specific resource (share link) and enumerates the exact mutations supported: pause/resume plus password, expiry and download-limit changes. An agent can immediately tell this is the mutation counterpart to create_link and list_links, though no sibling is named explicitly.

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 implied rather than stated: it's clear the tool edits an existing link (linkId is required), but nothing says when to prefer this over create_link for reconfiguration, nor what prerequisites exist (ownership or admin rights on the link). No when-not guidance is offered.

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