Skip to main content
Glama

delete_column

Destructive

Soft-delete a column (column_id from describe_table); it can be restored in the Mycorr app. It ALSO deletes every computed column whose formula reads it, and any view left empty. A unique key over it is paused until it is restored, listed in paused_keys: tell the user. Removing the table's last column is refused. Safe to repeat.

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": {
      "model_id": "<model_id>",
      "table_id": "<table_id>",
      "column_id": "<column_id>"
    },
    "name": "delete_column"
  }
}

Input Schema

NameRequiredDescriptionDefault
model_idYes
table_idYes
column_idYesColumn to delete (a `column_id` from describe_table).
expected_versionNoOptional optimistic-concurrency guard (see edit_rows).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Goes well past the destructiveHint annotation by disclosing cascading effects (computed columns whose formulas read it, views left empty), the paused unique-key consequence surfaced in `paused_keys` with an instruction to tell the user, the last-column refusal, and idempotency ('Safe to repeat').

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?

Five short sentences, each carrying distinct information — scope, cascades, key pausing, refusal, idempotency — with the primary action front-loaded and no filler.

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

Completeness5/5

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

No output schema exists, and the description compensates by naming the returned `paused_keys` field and the agent's obligation to report it. Combined with the cascade and refusal rules, an agent has everything needed to invoke this destructive operation correctly.

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 coverage is 50%: column_id and expected_version are documented in the schema, while model_id and table_id are bare in both places. The description reinforces the column_id source and implies cascade consequences of the choice, but adds no meaning for the two undocumented identifiers.

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?

States a specific verb and resource ('Soft-delete a column') and pins the identifier to its source ('`column_id` from describe_table'), which clearly separates it from sibling mutators like delete_link or delete_result.

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?

Gives the prerequisite for obtaining the id, notes the operation is reversible ('can be restored in the Mycorr app'), and names the one refusal case (removing the table's last column). It does not explicitly contrast with alternative column operations such as cast_column or rename_column, but the context is clear enough to act on.

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.

Resources