Skip to main content
Glama

list_versions

Read-only

Lists the saved versions of the schema, MOST RECENT FIRST. Serves to find the version number to restore. The response carries total (the EXACT number of versions, not the size of the page) and hasMore: an active project holds hundreds, so the last row returned is not the end of the history. Pagination goes through offset/limit (default 50, max 200). ⚠️ To FIND a named version (a restore point such as Synchro …, a milestone), query filters on the LABEL across the WHOLE history, not only within the page — it is the only way to reach an old version without paging through. If the response carries indexUnavailable, the list comes from a capped fallback without total: it does not prove that a version does not exist.

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": "list_versions"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoNumber of versions to return (default 50, maximum 200).
queryNoFilter on the LABEL of the version (substring, case-insensitive). Searches the WHOLE history, not only the page — it is the way to find a named restore point beyond the latest versions. It does not apply to the CONTENT of the schema.
offsetNoOffset from the MOST RECENT version (0 = the latest). `total`/`hasMore` in the response say what is left to browse of the history.
_unusedNo
expectedProjectIdNoUUID of the project THIS call targets (overrides the session project).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / query / description
      Previous value: -"Filter on the LABEL of the version (substring, case-insensitive). Searches the WHOLE history, not only the page — it is the way to find a named restore point (e.g. `Synchro …`) beyond the latest versions. It does not apply to the CONTENT of the schema."New value: +"Filter on the LABEL of the version (substring, case-insensitive). Searches the WHOLE history, not only the page — it is the way to find a named restore point beyond the latest versions. It does not apply to the CONTENT of the schema."
  2. Changed1 schema field changed
    • changedInput schema / properties / expectedProjectId / description
      Previous value: -"UUID of the project THIS call targets (overrides the session project). No access: refused, nothing changed."New value: +"UUID of the project THIS call targets (overrides the session project)."
  3. Changed1 schema field changed
    • changedInput schema / properties / expectedProjectId / description
      Previous value: -"UUID of the project targeted by THIS call. ACTUALLY targets this project instead of the session project. Refused without changing anything if access is not granted."New value: +"UUID of the project THIS call targets (overrides the session project). No access: refused, nothing changed."
  4. Changed4 schema fields changed
    • changedInput schema / properties / expectedProjectId / description
      Previous value: -"UUID du projet visé par CET appel. Cible RÉELLEMENT ce projet au lieu du projet de session. Refusé sans rien modifier si l'accès n'est pas accordé."New value: +"UUID of the project targeted by THIS call. ACTUALLY targets this project instead of the session project. Refused without changing anything if access is not granted."
    • changedInput schema / properties / limit / description
      Previous value: -"Nombre de versions à rendre (défaut 50, maximum 200)."New value: +"Number of versions to return (default 50, maximum 200)."
    • changedInput schema / properties / offset / description
      Previous value: -"Décalage depuis la version la PLUS RÉCENTE (0 = la dernière). `total`/`hasMore` de la réponse disent ce qui reste à parcourir de l'historique."New value: +"Offset from the MOST RECENT version (0 = the latest). `total`/`hasMore` in the response say what is left to browse of the history."
    • changedInput schema / properties / query / description
      Previous value: -"Filtre sur le LIBELLÉ de la version (sous-chaîne, insensible à la casse). Cherche dans TOUT l'historique, pas seulement dans la page — c'est la façon de retrouver un point de reprise nommé (« Synchro … ») au-delà des dernières versions. Ne porte jamais sur le CONTENU du schéma."New value: +"Filter on the LABEL of the version (substring, case-insensitive). Searches the WHOLE history, not only the page — it is the way to find a named restore point (e.g. `Synchro …`) beyond the latest versions. It does not apply to the CONTENT of the schema."
  5. Changed2 schema fields changed
    • changedInput schema / properties / offset / description
      Previous value: -"Décalage depuis la version la PLUS RÉCENTE (0 = la dernière). Combiner avec `total`/`hasMore` de la réponse pour parcourir tout l'historique."New value: +"Décalage depuis la version la PLUS RÉCENTE (0 = la dernière). `total`/`hasMore` de la réponse disent ce qui reste à parcourir de l'historique."
    • changedInput schema / properties / query / description
      Previous value: -"Filtre sur le LIBELLÉ de la version (sous-chaîne, insensible à la casse). Cherche dans TOUT l'historique, pas seulement dans la page — c'est la façon de retrouver un point de reprise nommé (« Synchro … ») au-delà des dernières versions. Ne cherche jamais dans le CONTENU du schéma."New value: +"Filtre sur le LIBELLÉ de la version (sous-chaîne, insensible à la casse). Cherche dans TOUT l'historique, pas seulement dans la page — c'est la façon de retrouver un point de reprise nommé (« Synchro … ») au-delà des dernières versions. Ne porte jamais sur le CONTENU du schéma."
  6. 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 readOnly/destructive/openWorld, so the safety profile is covered; the description spends its words on non-obvious behavior instead — `total` counts the full history rather than the page, hundreds of versions are normal, and `indexUnavailable` signals a capped fallback that cannot prove absence. It stops short of permissions, error modes, or rate limits, so it is strong but not exhaustive.

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?

Well front-loaded: purpose and ordering first, then response semantics, then pagination, then the named-version caveat, then the fallback warning. Some values (default 50, max 200) are repeated from the schema and the emoji-caps warning styling is heavier than needed, but every sentence carries real information.

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 job of explaining return values and does so: `total`, `hasMore`, and the degraded `indexUnavailable` case, plus what they imply about completeness. An agent has enough to page correctly and to warn a user about truncated history.

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 80%, so the baseline is 3, and most description text about offset/limit/query restates what the schema already documents (default 50, max 200, whole-history substring match). It adds the interpretive point that the last returned row is not the end of history, but says nothing about `expectedProjectId` or `_unused`.

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 ("Lists the saved versions of the schema") plus the ordering (MOST RECENT FIRST) and the practical intent ("find the version number to restore"). That intent implicitly separates it from diff_versions, which compares rather than enumerates, so an agent can pick correctly without reading 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 routing guidance: use `query` when hunting a named restore point because it searches the WHOLE history, otherwise page with offset/limit. It does not name a sibling tool as an alternative or state when not to use this tool, which keeps it short of a 5.

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.