Skip to main content
Glama
ZatesloFL

Google Workspace MCP Server

by ZatesloFL

modify_sheet_values

Update, write, or clear values in a specific range of a Google Sheet. Specify the range, input values, and user email to modify spreadsheet data efficiently.

Instructions

Modifies values in a specific range of a Google Sheet - can write, update, or clear values.

Args: user_google_email (str): The user's Google email address. Required. spreadsheet_id (str): The ID of the spreadsheet. Required. range_name (str): The range to modify (e.g., "Sheet1!A1:D10", "A1:D10"). Required. values (Optional[Union[str, List[List[str]]]]): 2D array of values to write/update. Can be a JSON string or Python list. Required unless clear_values=True. value_input_option (str): How to interpret input values ("RAW" or "USER_ENTERED"). Defaults to "USER_ENTERED". clear_values (bool): If True, clears the range instead of writing values. Defaults to False.

Returns: str: Confirmation message of the successful modification operation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
clear_valuesNo
range_nameYes
spreadsheet_idYes
user_google_emailYes
value_input_optionNoUSER_ENTERED
valuesNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

With no annotations provided, the description carries the full burden. It discloses the tool's write/update/clear capabilities and mentions a confirmation message return, but lacks details on permissions needed, error conditions, rate limits, or whether modifications are reversible. It adds basic behavioral context but misses important operational details.

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 description is well-structured with a purpose statement followed by Args and Returns sections. Every sentence earns its place by explaining functionality or parameters. It could be slightly more concise by integrating the Args explanations into the main description, but overall it's efficient and front-loaded.

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 mutation tool with 6 parameters, 0% schema coverage, no annotations, but with an output schema (Returns section), the description is moderately complete. It covers parameter semantics well and mentions the return confirmation, but lacks behavioral context like permissions, side effects, or error handling that would be important for a write operation.

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 compensate. It provides clear semantics for all 6 parameters: explains 'user_google_email' as the user's email, 'spreadsheet_id' as the spreadsheet ID, 'range_name' format examples, 'values' as a 2D array with format options, 'value_input_option' interpretations, and 'clear_values' purpose. This adds substantial meaning beyond the bare schema.

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

Purpose5/5

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

The description clearly states the verb ('modifies') and resource ('values in a specific range of a Google Sheet'), with specific actions ('write, update, or clear values'). It distinguishes from siblings like 'read_sheet_values' (read-only) and 'create_spreadsheet' (creation tool).

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 description implies usage for modifying sheet values but doesn't explicitly state when to use this tool versus alternatives like 'batch_update_doc' or 'modify_doc_text'. It mentions the 'clear_values' parameter for clearing ranges, providing some contextual guidance but no explicit when/when-not rules.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ZatesloFL/google_workspace_mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server