Skip to main content
Glama

Rename columns

rename_columns
Destructive

Change header names on a sheet. Keys in headers can be data1 or the current header, values are the new names. Renamed columns are shown. Optional show/hide lists. On a catalog sheet, renaming a variant axis column keeps its column id and catalog role, and updates the axis label to the new header. Hiding a variant axis column is refused.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "rename_columns"
  }
}

Input Schema

NameRequiredDescriptionDefault
hideNo
showNo
headersNo
sheet_idNo
sheet_numberNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Adds meaningful behavior beyond annotations: renamed columns are shown, optional show/hide lists exist, catalog variant-axis renames preserve column id and catalog role, and hiding a variant axis is refused. It does not explain permissions or undoability, but with destructiveHint already declaring the risk profile, this is solid contextual disclosure.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loads the main action and keeps the description compact. The catalog-specific sentence is dense but carries important edge-case information that 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?

Covers the core rename behavior and catalog nuance, but for a destructive five-parameter mutation with no output schema it omits sheet targeting details, show/hide effects, and result expectations. Adequate but with clear gaps.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0% for five parameters, so the description must carry parameter meaning. It explains headers keys/values well but leaves hide, show, sheet_id, and sheet_number semantics undocumented, including whether sheet_id and sheet_number are alternatives.

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: "Change header names on a sheet" plus how keys and values map. This clearly distinguishes it from rename_sheet, which renames the sheet itself, and from column add/remove tools.

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 clear usage context for header keys (data1 or current header) and optional show/hide lists. It does not explicitly name when to use this versus update_sheet_settings or rename_sheet, but the context is sufficient for selection.

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