Skip to main content
Glama

delete_columns

Removes a specified column from a Grist table, letting you clean up unused fields in a document's schema by providing the table and column IDs.

Instructions

Delete a column from a table.

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": {
      "table_id": "<table_id>",
      "col_id": "<col_id>"
    },
    "name": "delete_columns"
  }
}

Input Schema

NameRequiredDescriptionDefault
col_idYesColumn ID to delete
doc_idNoDocument ID
table_idYesTable containing the column

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden for a destructive mutation. It says nothing about irreversibility, whether the column's data is permanently lost, required permissions, or whether the operation cascades to dependent widgets or tables—all of which matter for a delete operation.

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?

A single front-loaded sentence with zero waste, which is structurally clean. It is arguably over-terse for a destructive tool, but nothing in it is filler.

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 a destructive operation with no annotations and no output schema, the description is under-specified: it omits data-loss and reversibility implications and gives no indication of what a success response looks like. An agent could call it correctly by schema, but not with confidence about consequences.

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 100%, so table_id and col_id are already fully documented in the schema, and baseline 3 applies. The description adds no meaning beyond the schema and notably never mentions the optional doc_id parameter, but it is not required to given full 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 states a specific verb and resource ("Delete a column from a table"), so an agent can tell what the tool does at a glance. However, it does not differentiate from siblings like modify_columns or delete_records, and the mismatch between the plural tool name delete_columns and singular "a column" leaves ambiguity about whether one or many columns are removed per call.

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?

There is no guidance on when to use this tool versus modify_columns, add_columns, or delete_records, and no prerequisites or conditions are stated. The agent must infer the use case from the name and schema alone.

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