Skip to main content
Glama

update_table_cell_style

Modify table cell appearance in Google Docs by adjusting background color, padding, or border styles for specific cells.

Instructions

Style a table cell (background, padding, borders).

Cell positions are 0-based. Provide at least one style property.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
document_idYesThe ID of the Google Document
table_start_indexYesThe index where the table starts
row_indexYesRow index (0-based)
column_indexYesColumn index (0-based)
background_colorNo
padding_topNo
padding_bottomNo
padding_leftNo
padding_rightNo
border_top_colorNo
border_top_widthNo
border_bottom_colorNo
border_bottom_widthNo
border_left_colorNo
border_left_widthNo
border_right_colorNo
border_right_widthNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

With no annotations provided, the description carries full burden for behavioral disclosure. It mentions the 0-based indexing constraint and requirement for at least one style property, which are useful. However, it doesn't disclose that this is a mutation operation (updates document), potential side effects, permission requirements, rate limits, or what happens when invalid styles are provided. For a tool with 17 parameters and no annotations, this is insufficient.

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?

The description is extremely concise with only two sentences, both of which provide essential information. The first sentence states the purpose and scope, the second provides critical constraints. There is zero wasted language, and the most important information (what the tool does) is 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?

Given the tool's complexity (17 parameters, mutation operation) and the presence of an output schema (which means return values are documented elsewhere), the description provides basic but incomplete context. It covers the core purpose and some constraints but lacks important behavioral details like mutation effects, error conditions, and permission requirements. The existence of an output schema helps, but for a mutation tool with many parameters, more guidance would be beneficial.

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 only 24%, so the description needs to compensate. It mentions 'Cell positions are 0-based' which clarifies the row_index and column_index parameters, and 'Provide at least one style property' which implies at least one of the style parameters must be non-null. However, it doesn't explain the meaning of table_start_index, document_id, or the various style parameters beyond naming them. The description adds some value but doesn't fully compensate for the low schema coverage.

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 clearly states the action ('Style') and target ('table cell') with specific style properties mentioned (background, padding, borders). It distinguishes from siblings like apply_paragraph_style and apply_text_style by focusing on table cells. However, it doesn't explicitly differentiate from bulk_update_google_doc which might also handle styling.

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 provides some usage context by specifying 'Cell positions are 0-based' and 'Provide at least one style property', which are important constraints. However, it doesn't explicitly state when to use this vs. alternatives like bulk_update_google_doc or other styling tools, nor does it mention prerequisites like document access permissions.

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/nickweedon/google-docs-mcp-docker'

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