Skip to main content
Glama
Google Workspace MCP
by holms

Share Drive File

share_drive_file

Share a Drive file with a user by email, setting their access role to reader, commenter, writer, or owner—useful for granting collaborators permission programmatically.

Instructions

Share a Drive file with a user. Role can be 'reader', 'commenter', 'writer', or 'owner'.

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>",
      "email": "<email>"
    },
    "name": "share_drive_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
roleNoreader
emailYes
file_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden and largely drops it. It does not say whether sharing sends a notification email, whether the call is idempotent, whether it replaces existing permissions, or what permission level the caller needs on the file. For a permission-granting mutation this is a meaningful gap.

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?

Two short sentences with the action front-loaded and no filler. Slightly compressed for a mutation tool, but nothing is wasted.

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?

An output schema exists, so return values need not be described. Still, for a sharing operation with no annotations, the definition omits notification behavior, permission prerequisites, and whether access is additive or replacing, leaving the agent to guess at the side effects.

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 0%, so the description must compensate, and it does add real value by enumerating the allowed role values, which the schema leaves as a bare unbounded string. However, file_id and email receive no explanation, and there is no statement of the default role behavior (schema default 'reader').

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 ('Share a Drive file') plus the grantee type ('with a user'), which is enough to distinguish it from delete/move/rename/upload siblings. It does not explicitly contrast itself with any sibling, but the action 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 by the verb: an agent can infer this is the tool for granting access. There is no explicit when-to-use vs. when-not, no mention that sharing with a group or domain is out of scope, and no prerequisite guidance.

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