Skip to main content
Glama

share_spreadsheet

Destructive

Share a Google Spreadsheet with multiple recipients by email and assign each reader, commenter, or writer access in one batch.

Instructions

Share a Google Spreadsheet with multiple users via email, assigning specific roles.

Recipients share concurrently rather than one at a time. If the caller supplied a progressToken, a notifications/progress update is sent as each share finishes (#355).

Args: spreadsheet_id: The ID of the spreadsheet to share. recipients: A list of dictionaries, each containing 'email_address' and 'role'. The role should be one of: 'reader', 'commenter', 'writer'. Example: [ {'email_address': 'user1@example.com', 'role': 'writer'}, {'email_address': 'user2@example.com', 'role': 'reader'} ] send_notification: Whether to send a notification email to the users. Defaults to True.

Returns: A dictionary containing lists of 'successes' and 'failures'. Each item in the lists includes the email address and the outcome.

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": {
      "spreadsheet_id": "<spreadsheet_id>",
      "recipients": "<recipients>"
    },
    "name": "share_spreadsheet"
  }
}

Input Schema

NameRequiredDescriptionDefault
recipientsYes
spreadsheet_idYes
send_notificationNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.9.6

TDQS

B3.3/5.0
Behavior3/5

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

Annotations supply only destructiveHint=true, so the description adds genuinely useful behavior: concurrent sharing, progress notifications when a progressToken is supplied, and a successes/failures return shape. It does not explain the destructive implication itself — what happens to existing permissions, whether roles are overwritten, or whether the operation is idempotent.

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?

The purpose is front-loaded in the first sentence, and the Args section is genuinely needed given zero schema coverage. The Returns block partially restates what the output schema already declares, and the progressToken parenthetical with an issue reference (#355) is internal noise an agent cannot act on.

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?

Parameters are well covered and an output schema exists, so return values need not be explained in prose. But for a permission-granting mutation flagged destructiveHint=true, the description never says what authorization is required or what it means for existing collaborators, which is the context an agent most needs before calling it.

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 coverage is 0% and the recipients parameter is an untyped array of objects with additionalProperties string, so the description carries the full burden and does so well: it names the required keys ('email_address', 'role'), enumerates the legal roles, and gives a concrete example. It stops short of stating any limit on recipient count or validation rules for malformed entries.

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 opens with a specific verb and resource ('Share a Google Spreadsheet with multiple users via email, assigning specific roles'), which is far more precise than the bare name. It does not, however, distinguish itself from the sibling share_file tool, leaving the agent to infer which resource type each handles.

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

Usage Guidelines2/5

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

There is no when-to-use or when-not-to-use guidance, and no mention of prerequisites such as the caller needing owner/editor rights on the spreadsheet. The presence of share_file in the sibling list makes the absence of routing guidance a real gap.

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