Skip to main content
Glama

Update link · 更新链接(短.在线)

update_link

修改自有短链的标题或目标地址。需要 links:update。未验证邮箱或注册未满 7 天只能改标题。不会重新启用短链。 Change the title or destination of a link you own. Requires links:update. Unverified email or an account under 7 days old can change the title only. Does not re-enable a link.

Input Schema

NameRequiredDescriptionDefault
idYesShort code or link id you own.
titleNoTitle, at most 256 characters. Stored on the short link.
destinationNoNew http(s) destination. Refused when the email is unverified, the account is under 7 days old, the link is disabled, quarantined, or reported, or the 24 hour cap is used.

Output Schema

NameRequiredDescriptionDefault
idNo
okYes
codeNo
toolNo
typeNo
errorNo
stateNo
titleNo
featureNo
messageNo
retryableNo
short_urlNo
created_atNo
expired_atNo
request_idYes
status_urlNo
destinationNo
resend_pathNo
short_url_asciiNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. Changed4 schema fields changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "destination": "https://example.com/notes",
      +    "id": "example",
      +    "title": "Notes"
      +  }
      +]
    • changedInput schema / properties / destination / description
      Previous value: -"Destination HTTPS/HTTP URL to shorten. Required. Do not send longUrl."New value: +"Optional destination URL (lowercase http or https, no surrounding whitespace). update_link is not available yet; this call does not update the link."
    • addedInput schema / properties / id / description
      Added value: +"Short code / link id. update_link is not available yet; this call does not update the link."
    • addedInput schema / properties / title / description
      Added value: +"Optional link title, at most 256 characters. update_link is not available yet; this call does not update the link."
  4. Changed18 schema fields changed
    • changedInput schema / properties / destination / description
      Previous value: -"New destination URL"New value: +"Destination HTTPS/HTTP URL to shorten. Required. Do not send longUrl."
    • removedInput schema / properties / id / description
      Removed value: -"Short code / link id you own"
    • addedOutput schema / properties / code / const
      Added value: +"FEATURE_NOT_AVAILABLE"
    • removedOutput schema / properties / created_at
      Removed value: -{
      -  "type": "string"
      -}
    • removedOutput schema / properties / destination
      Removed value: -{
      -  "type": "string"
      -}
    • addedOutput schema / properties / error / const
      Added value: +"FEATURE_NOT_AVAILABLE"
    • addedOutput schema / properties / feature
      Added value: +{
      +  "type": "string"
      +}
    • removedOutput schema / properties / id
      Removed value: -{
      -  "type": "string"
      -}
    • addedOutput schema / properties / ok / const
      Added value: +false
    • addedOutput schema / properties / retryable / const
      Added value: +false
    • removedOutput schema / properties / short_url
      Removed value: -{
      -  "type": "string"
      -}
    • removedOutput schema / properties / short_url_ascii
      Removed value: -{
      -  "type": "string"
      -}
    • removedOutput schema / properties / state
      Removed value: -{
      -  "type": "string"
      -}
    • removedOutput schema / properties / status_url
      Removed value: -{
      -  "type": "string"
      -}
    • removedOutput schema / properties / title
      Removed value: -{
      -  "type": "string"
      -}
    • addedOutput schema / properties / tool
      Added value: +{
      +  "type": "string"
      +}
    • removedOutput schema / properties / type
      Removed value: -{
      -  "type": "string"
      -}
    • changedOutput schema / required
      Previous value: -[
      -  "ok",
      -  "request_id"
      -]New value: +[
      +  "ok",
      +  "error",
      +  "code",
      +  "feature",
      +  "tool",
      +  "message",
      +  "request_id",
      +  "retryable"
      +]
  5. Changed18 schema fields changed
    • changedInput schema / properties / destination / description
      Previous value: -"Destination HTTPS/HTTP URL to shorten. Required. Do not send longUrl."New value: +"New destination URL"
    • addedInput schema / properties / id / description
      Added value: +"Short code / link id you own"
    • removedOutput schema / properties / code / const
      Removed value: -"FEATURE_NOT_AVAILABLE"
    • addedOutput schema / properties / created_at
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / destination
      Added value: +{
      +  "type": "string"
      +}
    • removedOutput schema / properties / error / const
      Removed value: -"FEATURE_NOT_AVAILABLE"
    • removedOutput schema / properties / feature
      Removed value: -{
      -  "type": "string"
      -}
    • addedOutput schema / properties / id
      Added value: +{
      +  "type": "string"
      +}
    • removedOutput schema / properties / ok / const
      Removed value: -false
    • removedOutput schema / properties / retryable / const
      Removed value: -false
    • addedOutput schema / properties / short_url
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / short_url_ascii
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / state
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / status_url
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / title
      Added value: +{
      +  "type": "string"
      +}
    • removedOutput schema / properties / tool
      Removed value: -{
      -  "type": "string"
      -}
    • addedOutput schema / properties / type
      Added value: +{
      +  "type": "string"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "ok",
      -  "error",
      -  "code",
      -  "feature",
      -  "tool",
      -  "message",
      -  "request_id",
      -  "retryable"
      -]New value: +[
      +  "ok",
      +  "request_id"
      +]
  6. Changed3 schema fields changed
    • changedInput schema / properties / destination / description
      Previous value: -"http(s) destination URL — Soft C SSRF no-fetch applies"New value: +"Destination HTTPS/HTTP URL to shorten. Required. Do not send longUrl."
    • removedOutput schema / properties / soft_c_state
      Removed value: -{
      -  "const": "not_live",
      -  "type": "string"
      -}
    • changedOutput schema / required
      Previous value: -[
      -  "ok",
      -  "error",
      -  "code",
      -  "feature",
      -  "tool",
      -  "message",
      -  "soft_c_state",
      -  "request_id",
      -  "retryable"
      -]New value: +[
      +  "ok",
      +  "error",
      +  "code",
      +  "feature",
      +  "tool",
      +  "message",
      +  "request_id",
      +  "retryable"
      +]
  7. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare non-read-only, non-destructive, non-idempotent, open-world. The description adds auth scope requirements, account-age/verification gating rules, and the explicit limitation that a disabled link is not re-enabled. It does not describe rate-limit behavior or failure responses, which are covered elsewhere.

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?

Content is front-loaded with the core action and the constraints follow logically, with zero filler sentences. The bilingual duplication doubles the length for no informational gain, but each individual clause earns its place.

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

Completeness4/5

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

With an output schema present, return values need not be explained, and parameter semantics are fully covered by the schema. The description covers permissions, eligibility restrictions, and the key non-behavior (no re-enable), leaving only edge-case error semantics unaddressed.

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 coverage is 100%, so parameter meanings and limits (256/2048 char caps, refusal conditions) are already fully documented in the schema. The description only restates that title and destination are the mutable fields, adding no new parameter-level detail.

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?

States a specific verb and resource (change title or destination of a link you own) with scope qualifier '自有' (owned), which cleanly separates it from read-side siblings like get_link and get_links. An agent can identify the operation without opening the 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 concrete conditions: requires links:update scope, and unverified email or accounts under 7 days old may change the title only. It also states the negative case that it will not re-enable a link. It does not name an alternative sibling (e.g., create_qr, shorten_url) for related operations, so it stops short of explicit routing.

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