Skip to main content
Glama

delete_column

Deletes a column and its data from all rows in a workspace database.

Instructions

Remove a column from a database. The column data will be removed from all rows.

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": {
      "workspace": "<workspace>",
      "databasePath": "<databasePath>",
      "columnId": "<columnId>"
    },
    "name": "delete_column"
  }
}

Input Schema

NameRequiredDescriptionDefault
columnIdYesID of the column to delete
workspaceYesWorkspace path or name
databasePathYesPath to the database folder

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.6.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full behavioral burden, and it does disclose the most important consequence: the column's data is removed from all rows. It says nothing about irreversibility, required permissions, behavior when views or formulas reference the column, or what happens to existing data on failure.

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?

Two short sentences with zero filler, and the destructive consequence is front-loaded immediately after the action statement. Every sentence earns its place.

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

Completeness3/5

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

For a simple three-parameter destructive tool with no annotations and no output schema, the definition covers the core action and its data-loss effect. It remains incomplete on irreversibility and failure conditions, which matter for an irreversible mutation an agent may invoke autonomously.

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%, with all three parameters (workspace, databasePath, columnId) documented in the schema itself, so the baseline is 3. The description adds no additional meaning about identifier format, path resolution, or scoping beyond what the schema already provides.

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?

"Remove a column from a database" gives a specific verb (remove) and resource (column), which clearly separates it from siblings like delete_rows, delete_database, and update_column. It stops short of naming an alternative explicitly, so it is clear but not fully sibling-differentiated.

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 implied by the destructive verb and resource: an agent can infer this is the tool for dropping a column rather than a whole table or its rows. However, there is no explicit statement of when to prefer this over update_column (e.g., renaming vs. deleting) or any prerequisite conditions.

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