Skip to main content
Glama

1ClickSiteAI

List a site's snapshots

list_snapshots
Read-onlyIdempotent

Lists the 30 newest snapshots of a site, newest first, with the id, the reason, and the time of each. A snapshot is a saved state of the site's content. The reason is before_agent for a snapshot the site took before an automated change, before_restore for one taken before a restore, agent for one that a tool asked for, and manual for one that a person asked for. Call it when your user asks which snapshots exist or when one was taken. Do not call it to undo a change; use rollback_change_set. It restores nothing and costs no credits. A site whose plugin is older than 0.3.3 keeps no snapshots, and the call says so.

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": {
      "siteId": "<siteId>"
    },
    "name": "list_snapshots"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteIdYesSite id from list_sites or create_site.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already establish readOnly, idempotent, non-destructive, so the safety profile is covered; the description adds value beyond them with the zero-credit cost, the fact it restores nothing, and the edge case that sites on plugin versions older than 0.3.3 have no snapshots and the call reports that. What it doesn't cover is pagination or what happens past the 30-item cap, which is a meaningful gap for a capped list.

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 and scope come first, then the when-to-use and when-not-to-use routing, then caveats — a good front-loaded order with no filler sentences. The reason taxonomy sentence is long and list-like, but it earns its place by making the returned reason values interpretable in the absence of an output schema.

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?

Because there is no output schema, describing the returned id, reason, and timestamp is necessary and is done thoroughly, including decoding the reason values. Combined with the version incompatibility caveat and the cost/side-effect statement, an agent has everything needed to call this correctly.

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?

There is a single parameter and the schema documents it at 100% coverage, including its length constraint and a pointer to list_sites/create_site. The description adds nothing about siteId itself, so the baseline of 3 applies rather than a higher score.

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 with precise scope: the 30 newest snapshots of a site, newest first, including the returned fields. It also defines what a snapshot is, so an agent unfamiliar with the domain can distinguish it from rollback_snapshot or create_snapshot.

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

Usage Guidelines5/5

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

Gives an explicit triggering condition (the user asks which snapshots exist or when one was taken) and an explicit exclusion with the named alternative (do not use to undo a change; use rollback_change_set). It also removes a cost concern by stating the call restores nothing and costs no credits.

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