Skip to main content
Glama

List versions

list_versions
Read-onlyIdempotent

List a site's published versions newest-first with their content hash, content kind, entry path, size, file count, and timestamp. The version the site serves now is marked live: true. On a website, the version waiting as a preview is marked waiting_preview: true; it has never been live, so rollback_site refuses it and set_live_version puts it live. The version to undo to is the first one below live: true that is not waiting_preview.

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

Input Schema

NameRequiredDescriptionDefault
site_idYesThe id of the site whose versions to list
workspace_idNoOptional: the workspace to act in, from list_workspaces (the connection reaches the person's personal space and every workspace they are a member of). Required on a write when the connection reaches more than one workspace. Omit to act in the personal space (for an older single-workspace connection, the one workspace it was authorized for).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / workspace_id / description
      Previous value: -"Optional: the workspace (the personal space or a Pro workspace) to act in, from list_workspaces. Omit to act in the token owner's own account."New value: +"Optional: the workspace to act in, from list_workspaces (the connection reaches the person's personal space and every workspace they are a member of). Required on a write when the connection reaches more than one workspace. Omit to act in the personal space (for an older single-workspace connection, the one workspace it was authorized for)."
  2. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already establish read-only, idempotent, non-destructive, closed-world behavior, yet the description adds real semantics on top: ordering, the live/preview markers, and the fact that a waiting preview has never been live so rollback_site refuses it while set_live_version will serve it. That is behavioral context an agent could not get from the annotations or schema alone.

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?

Four tight sentences: purpose and returned fields first, then the two markers, then the rollback rule. Every clause carries information about flags or downstream tool behavior; there is no filler or repetition.

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?

With no output schema, the description takes on the burden of explaining return values, and it does so by listing the fields and defining the live and waiting_preview flags. Combined with the fully documented two-parameter schema and read-only annotations, an agent has everything needed to call and interpret this tool.

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%, so site_id and workspace_id are already fully documented including the personal-space default and the multi-workspace write requirement. The description adds no parameter-level detail beyond the schema, 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?

The opening sentence names a specific verb and resource (list a site's published versions), states the ordering (newest-first), and enumerates the returned attributes (content hash, kind, entry path, size, file count, timestamp). This is clearly distinguishable from the other list_* siblings, which cover different resources such as workspaces, sites, and webhooks.

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?

The description gives concrete decision guidance for the results: the served version is marked `live: true`, the preview is `waiting_preview: true`, and the rollback target is the first entry below `live: true` that is not `waiting_preview`. It also names rollback_site and set_live_version and explains how they treat a waiting preview, which effectively routes the agent onward. It stops short of an explicit 'use this tool when X, not Y' exclusion for other list tools, so it falls just under the top mark.

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.