Skip to main content
Glama

update_column

Modify a database column's name, type, options, or ID; changing the ID updates every row so schema changes stay consistent.

Instructions

Update column properties (name, type, options). If changing column ID, all rows will be updated.

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>",
      "updates": "<updates>"
    },
    "name": "update_column"
  }
}

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.19.0
    • changedInput schema / properties / updates / properties / type / enum
      Previous value: -[
      -  "title",
      -  "text",
      -  "number",
      -  "select",
      -  "multiselect",
      -  "status",
      -  "checkbox",
      -  "date",
      -  "url",
      -  "email",
      -  "recurring"
      -]New value: +[
      +  "title",
      +  "text",
      +  "number",
      +  "select",
      +  "multiselect",
      +  "status",
      +  "checkbox",
      +  "date",
      +  "url",
      +  "email",
      +  "recurring",
      +  "location",
      +  "image"
      +]
  2. 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, the description carries the full behavioral burden. It usefully discloses one significant side effect: changing the column ID updates all rows. However, it omits other important consequences, such as whether changing type destroys or converts existing values, whether permission is required, and whether changes are reversible.

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 wasted wording. The primary purpose is front-loaded, and the side-effect warning follows immediately where it is most relevant.

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 mutation tool with a nested updates object and no output schema, the description is thin. It covers the basic purpose and one side effect, but leaves significant gaps around type changes, option semantics, and permissions that an agent would need to invoke it safely.

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 the input schema already documents all four parameters and the nested update fields. The description adds a caveat about changing column ID but does not add meaning about 'options', 'optionColors', or 'optionStates' beyond the schema.

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?

States a specific verb and resource ('Update column properties') and enumerates the touchable fields (name, type, options). The intent is clear next to siblings like add_column and delete_column, though it never explicitly distinguishes itself from them.

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: 'Update' signals this is for existing columns rather than adding or deleting one, but there is no explicit when-to-use or when-not-to-use guidance. It does not tell the agent what conditions make this the right choice over add_column or delete_column.

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