Skip to main content
Glama

update_link

DestructiveIdempotent

Change a link's name, autoplay, controls, expiry or password. What it plays stays the same: to play another version, make a new link or move the alias it follows.

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

Input Schema

NameRequiredDescriptionDefault
nameNoA new name; `null` removes it.
link_idYesThe link, `lnk_…`.
autoplayNoStart playing as soon as the page opens.
controlsNoShow the player's controls.
passwordNoA password viewers enter before it plays, 4 to 128 characters, replacing any it had; `null` removes it, so anyone with the link watches. Viewers who entered the old one enter the new one.
expires_atNoWhen the link stops working, as an RFC 3339 time; `null` makes it never expire.

Output Schema

NameRequiredDescriptionDefault
idYes`lnk_…`.
urlYesThe view page.
nameNoA name people recognize it by; absent when it has none.
autoplayYesWhether the video starts playing when the page opens.
controlsYesWhether the player shows its controls.
embed_urlYesThe page to put in an iframe.
created_atYesRFC 3339.
created_byYesThe API key or member that created it.
expires_atNoRFC 3339.
project_idYesThe document's project.
revoked_atNoRFC 3339.
document_idYesThe document it plays.
password_protectedYesWhether viewers need a password to watch it. The password itself is never shown.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and openWorldHint=true, so the safety profile is mostly structured data. The description contributes the important invariant that playback source is unchanged and notes that changing a password forces returning viewers to re-enter it. It does not explain in what sense the call is destructive (e.g. that null clears name/password/expiry) or what permissions it needs.

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?

Two tight sentences with the mutable-field list front-loaded and the scope caveat second; nothing is padded. Minor deduction because the field enumeration largely restates what the parameters already say.

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?

An output schema exists, so return values need no explanation, and the scope/rollover behavior is covered. For a destructive mutation on a shareable resource, though, it is thin on consequences of clearing fields and on auth requirements, which an agent would want before calling.

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%, including detailed null/removal semantics and password length rules, so the schema carries the parameter burden and the baseline is 3. The description's field list maps onto parameters but adds no syntax, format, or edge-case meaning beyond what the schema already states.

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?

Names a specific verb (Change) plus the exact resource (a link) and enumerates the mutable fields: name, autoplay, controls, expiry, password. It also implicitly separates itself from create_link by stating that the played content is fixed, so an agent can distinguish it from siblings without opening a schema.

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?

Gives one explicit when-not rule with a named alternative: to play a different version, make a new link or move the alias. That is concrete routing guidance. It does not address the other mutation siblings (revoke_link, purge_link, delete_alias), so coverage is clear but not exhaustive.

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