Skip to main content
Glama

get_file_permissions

Read-only

List one Drive file's sharing permissions (who it's shared with and their role). Same scope as search. Pass account when more than one Drive-capable account is connected.

Input Schema

NameRequiredDescriptionDefault
accountNoAccount label the file belongs to (see list_accounts). Required when several Drive-capable accounts are connected.
file_idYesDrive file id (from search_drive_files or get_file_metadata).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/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. The description adds multi-account auth context, which is useful beyond the annotations, but says nothing about pagination, permission-value format, or what happens for inaccessible files.

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?

Three short, front-loaded sentences with no filler; the core action leads, and supporting constraints follow.

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 two-parameter tool with full schema coverage and no output schema, the description covers purpose, returned content, and the multi-account condition adequately. The only minor gap is the unspecified 'same scope as search' reference.

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%, so both parameters are already documented in the schema, and the description largely restates the account guidance rather than adding syntax or constraints. 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?

States a specific verb and resource (list a Drive file's sharing permissions) and disambiguates with a parenthetical covering the returned content. It's distinguishable from get_file_metadata and search_drive_files, though the phrase 'Same scope as search' is cryptic and doesn't name the sibling it relates to.

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?

Provides conditional guidance for the `account` parameter ('pass when more than one Drive-capable account is connected'), which is genuine usage advice. However, it offers no when-to-use / when-not-to-use framing relative to get_file_metadata or search_drive_files, so the routing context is only implied.

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.

Resources