Skip to main content
Glama

getRevision

Retrieve details for a specific Google Drive file revision, including author, timestamp, and an optional short-lived download link to inspect content from that point in time.

Instructions

Gets details about a specific revision of a Drive file, including who made it, when, and an optional temporary download link to retrieve the content at that point in time.

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>",
      "revisionId": "<revisionId>"
    },
    "name": "getRevision"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileIdYesThe ID of the Drive file.
revisionIdYesThe revision ID (from listRevisions).
includeDownloadLinkNoIf true, includes a short-lived download URL for the revision content.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv4.0.0-rc.1

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full behavioral burden. It does disclose the returned fields and, valuably, that the download link is 'temporary'/'short-lived', but it says nothing about required permissions, what happens if the revision was purged, or error behavior.

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?

A single front-loaded sentence with no filler; the return payload is described in the same breath as the action, so nothing is wasted.

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 three-parameter read tool with no output schema, the description is nearly sufficient: it names the returned data and the conditional link. The remaining gap is operational context (auth/permission requirements, failure modes) rather than core calling information.

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 100%, so all three parameters including includeDownloadLink are already documented in structured form; the description adds only a light gloss on the download link. Baseline 3 applies when the schema does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb and resource — 'Gets details about a specific revision of a Drive file' — and enumerates what those details include (author, timestamp, optional download link). It doesn't explicitly distinguish itself from sibling tools like updateRevision, but the retrieval scope is unambiguous.

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 only implied: an agent can infer this is the tool for inspecting one revision, and the schema note pointing to listRevisions hints at the discovery-then-fetch flow. There is no explicit when-to-use/when-not guidance or mention of alternatives such as fetching the current file state instead.

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