Skip to main content
Glama

Change columns

tables_change_columns

Add columns, rename them, or remove them (their values go too). Rows keep their values through renames. Costs $0.001 per call; nothing if it fails.

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": "<table>"
    },
    "name": "tables_change_columns"
  }
}

Input Schema

NameRequiredDescriptionDefault
addNo
tableYesThe table's name (or its table_id).
removeNo
renameNo{"old name": "new name"}

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

The description adds real behaviour beyond the annotations: removal destroys the column's values, renames preserve row values, cost is $0.001 per call with no charge on failure. Worth noting there is tension between 'their values go too' and destructiveHint=false — the annotation arguably understates the risk of dropping a column, but because the description states the data loss explicitly the agent is still correctly informed rather than misled.

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 tight sentences with the operation set front-loaded, followed by the two facts an agent most needs (data loss on remove, value preservation on rename) and the price. No filler.

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 non-idempotent mutation with nested parameters and no output schema, key gaps remain: whether operations are atomic or applied in a specific order, what happens on a name collision, what the call returns, and whether existing rows are backfilled for newly added required columns. The cost and data-loss notes are valuable, but the schema-change semantics are only partially covered.

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%: only 'table' has a schema description, and the nested 'add' object (type, options, currency, decimals, required) is entirely undocumented. The description does contribute meaning for rename by noting that values survive it, and it maps prose onto the three top-level params, but it says nothing about add's nested fields, ordering, or how add/remove/rename interact.

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 names a specific verb set and resource: add, rename, and remove columns on a table. That clearly distinguishes it from structural siblings like tables_create/tables_delete (whole-table operations) and from rows_update (row-level values). It stops short of explicitly naming those siblings, so it is clear but not fully 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 only implied — an agent can infer this is the tool for schema surgery when a table already exists. There is no explicit when-to-use/when-not, no guidance on prerequisites (table must exist, permissions), and no pointer to alternatives such as tables_create for a new table or rows_update when only data changes.

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