Skip to main content
Glama

List versions

list_versions
Read-only

The file's version history, newest first, with what changed in each version compared with the one before it: the screens (and notes, sections) modified, added or removed, by id and name. Versions are saved after each editing session, by save_version, and on restores and merges. With frameId, only the versions that changed that screen (its history). Use restore_version to put screens back as they were in one of them.

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

Input Schema

NameRequiredDescriptionDefault
limitNo
fileIdYes
frameIdNoA screen (or note, section): only the versions that changed it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds genuinely new behavioral context: ordering (newest first), the comparison basis (each version against the one before it), and when versions are created (after each editing session, on restores and merges). It does not mention the limit cap of 30 or any truncation behaviour, which keeps it from a 5.

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?

The purpose is front-loaded in the opening clause and the four sentences each carry distinct information (what it returns, when versions exist, the frame filter, the sibling alternative). The parenthetical '(and notes, sections)' and the doubled 'screens (and notes, sections) modified, added or removed' phrasing are slightly cluttered but not wasteful enough to hurt readability.

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 read-only, three-parameter list tool with annotations covering safety and no output schema, the description does the important work: it explains the shape of each returned entry and the ordering, which the schema cannot. The remaining gap is the unmentioned limit/truncation behaviour, which matters because the default of 10 is well below the maximum of 30 and could silently hide older versions.

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 33% — only frameId is documented in the schema — and the description largely restates that same meaning ('its history', 'only the versions that changed that screen'). It adds nothing about limit (the schema shows default 10, max 30 but the description never warns that history is truncated) and nothing about fileId. Useful but not compensating for the coverage gap.

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 description names a specific resource and scope — the file's version history, newest first — and goes on to state what each entry contains (screens/notes/sections modified, added or removed, by id and name). It also distinguishes this tool from its closest siblings by naming save_version as the producer of versions and restore_version as the follow-up action, so an agent can separate it from them without opening any 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?

It states the frameId case explicitly (only versions that changed that screen, i.e. that screen's history) and routes the agent to restore_version when the goal is to revert rather than inspect. That is clear conditional guidance, but there is no explicit statement of when *not* to call it (for example, when the agent wants a diff between two specific versions), which would be needed for 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.