Skip to main content
Glama

listRevisions

Lists all saved revisions of a Google Drive file, returning each revision's ID, modifier, timestamp, and retention status so you can review file history.

Instructions

Lists all saved versions (revision history) of a Drive file such as a Google Doc, Sheet, or Slide. Returns each revision's ID, modifier, timestamp, and whether it is kept forever.

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

Input Schema

NameRequiredDescriptionDefault
fileIdYesThe ID of the Drive file to list revisions for.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv4.0.0-rc.1

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It discloses that this is a listing operation and describes the returned fields, but it omits important behavior such as pagination, ordering, permission requirements, or whether all Drive file types always expose revision history.

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?

Two sentences are used with no waste: the first establishes the operation and scope, and the second lists the key return values. The purpose is front-loaded and easy to scan.

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 simple one-parameter read operation, the description is largely complete and compensates for the absent output schema by describing returned fields. Minor gaps around pagination and access requirements keep it from being fully complete.

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%, and the single parameter, fileId, is already documented as the Drive file ID. The description adds no syntax or format detail beyond the schema, so the baseline score of 3 is appropriate.

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 uses a specific verb, 'Lists,' and a precise resource, 'saved versions (revision history),' scoped to a Drive file with concrete examples. It clearly distinguishes itself from a generic file-listing tool by focusing on revision history and even names the returned fields.

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

Usage Guidelines3/5

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

Usage is implied: an agent should call this when it needs revision history for a known Drive file. However, the description gives no explicit when-to-use versus alternatives guidance, no exclusions, and no prerequisites such as needing the file ID or access permissions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools