Skip to main content
Glama

Archive a link

archive_link
Idempotent

Move a link to the archive. It keeps working and keeps its stats; it is only hidden from the main list. Restore it with restore_link.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "archive_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoThe link's id, as returned by list_links or shorten_link. Give either id or code.
codeNoThe link's code (the part after siz.la/) or its full short address. Give either id or code.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare destructiveHint=false and idempotentHint=true, but the description adds real semantic value by defining what archiving actually does: the short link keeps resolving and stats are preserved, only list visibility changes. It stops short of stating whether repeated calls are safe (covered by annotation) or whether archived links remain editable elsewhere.

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?

Two short sentences with zero filler: the action and its semantics come first, the restoration path second. Every clause carries information an agent would otherwise have to guess.

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?

For a two-optional-parameter, non-destructive mutation with no output schema, the description covers effect, reversibility, and side effects sufficiently. The only gap is that it doesn't mention the error case when neither id nor code is supplied.

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 both id and code are documented in the schema down to the "give either id or code" alternative. The description adds no additional parameter meaning, so the baseline 3 applies.

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 ("Move a link to the archive") and immediately distinguishes the state change from permanent removal by explaining the link "keeps working and keeps its stats; it is only hidden from the main list." The pairing with restore_link makes the reversible-versus-delete distinction inferable from the text itself.

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?

Names restore_link as the explicit undo path, which gives an agent clear routing for reversal. It does not explicitly contrast with delete_link (permanent removal) or state prerequisites/ownership requirements, so the when-not guidance is incomplete.

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.