Skip to main content
Glama

list_permissions

Read-only

Lists all sharing permissions for a Google Drive file or folder by ID, showing users, groups, roles, domains, and expiration details.

Instructions

List all permissions on a file or folder in Google Drive.

Args: file_id: The Google Drive file or folder ID.

Returns: List of permissions, each with id, type, role, email_address (for user/group), domain (for domain permissions), display_name, expiration_time, and deleted flag.

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": {
      "file_id": "<file_id>"
    },
    "name": "list_permissions"
  }
}

Input Schema

NameRequiredDescriptionDefault
file_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.9.6

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, so the safety profile is covered by structured data. The description adds the shape of the returned entries (id, type, role, email_address, domain, etc.), which is useful context, but says nothing about pagination behavior, inherited permissions, or shared-drive specifics.

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?

Front-loaded single-sentence purpose followed by clearly labeled Args and Returns sections with no filler. The Returns block partially duplicates the output schema, which is the only real redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a single-parameter read tool with an output schema, the description covers what is needed to call it correctly. It is thin on operational context an agent would want (pagination, error conditions for invalid or inaccessible file IDs) given the tool takes an arbitrary ID.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must carry the burden, and it does: file_id is explained as 'The Google Drive file or folder ID', clarifying that either resource type is accepted. That is meaningful semantics the schema's bare 'File Id' string does not provide.

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?

States a specific verb ('List') and resource ('permissions on a file or folder in Google Drive'), which distinguishes it from drive-level siblings like list_drives and calendar-specific ACL tools. It does not name an alternative explicitly, keeping it below a 5.

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?

The usage is implied by the purpose: call it when you need the ACL entries of a known file or folder. There is no explicit when-to-use/when-not guidance, no mention of the sibling ACL tools, and no prerequisites such as requiring at least read access to the file.

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