Skip to main content
Glama

rename_column

Destructive

Rename a column (column_id from describe_table). name is required and not blank: it is the header everyone sees. 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": "<name>"
    },
    "name": "rename_column"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesNew display name — required, and must not be blank.
model_idYes
table_idYes
column_idYesColumn to rename (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

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false and destructiveHint=true, so the mutation profile is known; the description usefully adds the idempotency note ("Safe to repeat") and the non-blank constraint on the new name. It says nothing about permission requirements, what happens to the previous name, or how `expected_version` conflicts surface, and "safe to repeat" sits in mild tension with the declared destructiveHint.

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?

Three short sentences, front-loaded with the action and target, then the required-input constraint, then the idempotency note. No filler and no restatement of the title.

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 destructive 5-parameter mutation with no output schema, the definition covers identity of the target and the new name but leaves out collision behavior, failure modes for `expected_version`, and the consequences of the rename. Adequate to call correctly in the happy path, incomplete for edge cases.

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 60%, and the description reinforces the two most important fields: `column_id` sourced from describe_table and `name` as "the header everyone sees," required and not blank. It adds nothing for `model_id`, `table_id`, or the optimistic-concurrency `expected_version` guard, which is only cross-referenced to edit_rows in 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?

The description names a specific verb and resource ("Rename a column") and anchors the target to a `column_id` obtained from describe_table, which is enough to distinguish it from add_column and delete_column. It does not explicitly distinguish itself from set_column_semantics, the closest sibling that also modifies a column, so it stops short of a 5.

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 through the workflow hint that `column_id` comes from describe_table, and "Safe to repeat" signals when re-issuing the call is acceptable. There is no explicit statement about when to prefer this over set_column_semantics or what to do if a column of that name already exists.

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