Skip to main content
Glama

Editar planilha

edit_sheet
Destructive

Edits a sheet the user owns with the same persistent operations as the dashboard: add custom/AI columns, rename/delete/hide/show/reorder/resize columns, update cells, or delete rows. Takes exact row and column ids.

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": {
      "sheetId": "<sheetId>",
      "action": "<action>"
    },
    "name": "edit_sheet"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
cellsNo
widthNo
actionYes
aiKindNo
rowIdsNo
sheetIdYes
columnIdNo
columnIdsNo
columnTypeNo
instructionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false, and idempotentHint=false, so the safety profile is known. The description usefully adds that changes are persistent and mirror dashboard behavior and that exact ids are required, but it never flags which specific actions (delete_column, delete_rows) are irreversible or what happens on partial failure across a multi-cell update.

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 sentences, front-loaded with the core verb and scope, followed by a compact operation list that maps to the action enum. The enumeration is long but each item corresponds to real functionality, so little is wasted.

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

Completeness2/5

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

For an 11-parameter, 10-action mutation tool with no output schema and no schema descriptions, the definition leaves the most consequential detail uncovered: which fields are required per action and which actions destroy data. The ownership and id constraints are helpful but not sufficient to call this safely.

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?

Schema description coverage is 0% across 11 parameters, and the description only hints at row/column ids and the operation set. It never explains which parameters pair with which action (e.g., that width applies only to resize_column, aiKind/instruction to add_ai_column, columnType to add_custom_column), leaving the agent to guess an action-to-parameter mapping for a 10-value enum.

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 gives a specific verb ('Edits') plus resource ('a sheet the user owns') and then enumerates the operations, which line up with the action enum (add columns, rename/delete/hide/show/reorder/resize, update cells, delete rows). It does not explicitly separate itself from siblings such as add_rows_to_sheet or run_sheet_ai_column, which overlap with 'add custom/AI columns', so the agent still has ambiguity at the boundary.

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 through the operation list and the 'sheet the user owns' ownership precondition. There is no explicit statement of when to prefer this tool over add_rows_to_sheet, run_sheet_ai_column, or delete_sheet, nor any exclusion of cases this tool does not handle.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.