Skip to main content
Glama

insert_rows

Inserts rows before a specified starting index in a Google Sheet. Uses zero-based indices to define the range of rows to add, with an option to inherit formatting from the row above.

Instructions

Insert rows before start_index; indices are zero-based and half-open.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sheetYes
end_indexYes
start_indexYes
spreadsheet_idYes
inherit_from_beforeNo
Behavior2/5

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

No annotations exist, and the description only adds index semantics. Does not disclose side effects (e.g., data shift, formatting impact, permissions) or other behavioral traits.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Single sentence is brief but sacrifices clarity on multiple parameters. Could be restructured for better readability without adding length.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given 5 parameters, zero schema descriptions, no output schema, and no annotations, the description omits critical details about half-open range, inherit_from_before default, and required parameter roles.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Only start_index and half-open indexing are explained; other parameters (sheet, end_index, spreadsheet_id, inherit_from_before) are not described. With 0% schema coverage, the description insufficiently compensates.

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 'Insert rows before start_index' with index conventions. Distinguishes from siblings like delete_rows and append_rows, though could clarify the range meaning.

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?

No guidance on when to use this tool versus alternatives (e.g., insert_range, append_rows). No condition or recommended context provided.

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/richmcpharlin/google-sheets-mcp'

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