Skip to main content
Glama

delete_table_column

Destructive

Deletes a specified column from an existing table in a Google Doc using the document ID, table start index, and zero-based column index.

Instructions

Delete a column from an existing table in a Google Doc.

Use get_doc_structure to find the table's startIndex and the column_index to delete.

Args: doc_id: The Google Doc file ID. table_start_index: The startIndex of the table (from get_doc_structure). column_index: Zero-based index of the column to delete.

Returns: Confirmation with docId, table_start_index, and deleted column_index.

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": {
      "doc_id": "<doc_id>",
      "table_start_index": "<table_start_index>",
      "column_index": "<column_index>"
    },
    "name": "delete_table_column"
  }
}

Input Schema

NameRequiredDescriptionDefault
doc_idYes
column_indexYes
table_start_indexYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.9.6

TDQS

A4.2/5.0
Behavior3/5

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

The destructiveHint annotation already flags this as a data-destroying operation, and the description reinforces it with 'Delete a column' plus a note on what is returned. It does not add the meaningful extras beyond annotations — e.g. irreversibility, whether the last remaining column can be deleted, or auth/scope requirements — and the return note is largely covered by the existing output schema.

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?

Front-loaded imperative sentence followed by the prerequisite, then a clean Args/Returns block — no wasted words and easy to scan. The Returns line partially duplicates the output schema, so it is slightly less than maximally tight.

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

Completeness4/5

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

For a three-parameter destructive mutation, all parameters are explained, the index-discovery dependency is surfaced, destructiveness is annotated, and return values are covered by the output schema. Missing only edge-case guidance such as out-of-range indices or deleting the final column.

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

Parameters5/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 carry the parameter burden and it does: doc_id is identified as the Google Doc file ID, table_start_index is tied to its source (get_doc_structure), and column_index is explicitly zero-based. All three required parameters gain meaning beyond bare titles like 'Column Index'.

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 first sentence gives a specific verb (delete) and resource (a column of an existing table) scoped to Google Docs, which distinguishes it from delete_table_row and the Sheets-oriented delete_columns. An agent knows precisely what operation is performed without opening a schema.

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

Usage Guidelines4/5

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

It prescribes the required discovery step: call get_doc_structure first to obtain the table startIndex and the target column_index, which is exactly the workflow knowledge an agent needs. It stops short of naming the row-deletion alternative or stating exclusions, so it is clear context but not full when/when-not guidance.

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