Skip to main content
Glama

List retained versions

list_versions
Read-onlyIdempotent

Returns every retained version of a slug owned by the token, newest first. Inputs: slug and token. Each entry includes version, created_at, file_count, bytes, kind (publish, merge, or restore), restored_from, and a public permalink. A retained version's URL stays stable while that version is kept and the site is available. Free keeps the last 5 versions, Hobby 50, and Pro has no cap, including the live version, applied when a new version is saved. Pruning, deleting that version, or deleting the site removes it. A cache can briefly still serve a removed URL, and publishing the same slug again can reuse the v1 URL. It is not a permanent archive.

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": {
      "slug": "<slug>"
    },
    "name": "list_versions"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugYesSlug you own.
tokenNoBearer token returned by your first publish (deed_tok_...). Optional if the MCP client sends Authorization: Bearer.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior5/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, yet the description adds substantial context beyond them: result ordering, per-plan retention caps (5 / 50 / unlimited), the stability guarantee for retained URLs, the conditions that remove a version (pruning, deletion, site deletion), cache staleness after removal, and v1 URL reuse. The closing 'not a permanent archive' warning is exactly the kind of caveat an agent cannot get from structured fields.

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?

Purpose is front-loaded, followed by inputs, then the returned fields, then retention semantics — a logical progression with no filler sentences. The 'Inputs: slug and token' sentence is redundant against a 100%-covered schema and the middle section is dense with comma lists, which keeps it just short of a 5.

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?

There is no output schema, and the description compensates by enumerating every returned field (version, created_at, file_count, bytes, kind, restored_from, permalink) including the kind enum values. Combined with the retention and expiry rules, an agent knows what it will get, how long it lasts, and what invalidates it.

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 the bearer-token alternative to the Authorization header, so the schema already carries parameter meaning. The description's 'Inputs: slug and token' line restates the schema without adding format or constraint detail. Baseline 3 applies when the schema does the heavy lifting.

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 opening sentence names a specific verb and resource (returns every retained version of a slug) plus scope and ordering (owned by the token, newest first). An agent can tell this is a read/list operation over version history. It does not explicitly contrast with the sibling restore_version, so it stops short of full sibling differentiation.

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

Usage Guidelines2/5

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

The description never states when to call this rather than get_site, get_manifest, or restore_version, nor any prerequisite beyond token ownership. The retention and expiry notes describe what the results mean, not when to reach for the tool. Usage must be inferred entirely from the name and purpose sentence.

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.