Skip to main content
Glama

Add a column

add_column
Destructive

Adds a column after the last tracker column, styles its header like its neighbor, and optionally maps a config field so tools use it without moving existing formulas, dropdowns, or filters.

Instructions

Add a column after the last one, its header styled like its neighbour's, and with field map it in the config so the tools start using it: describe_tracker's unavailable_tools says which columns a tool is missing. Only at the end, so no formula, dropdown or filter of the sheet moves. Undo removes the column and the config line together.

The tool writes only with the user's yes. The client may ask in its own confirmation dialog. Otherwise call with dry_run=true, show the preview to the user, and after they agree in a new message repeat the same call with confirm=. The write is refused if the tracker changed since expected_version. A backup is taken first, and undo_last_write reverts the write.

Input Schema

NameRequiredDescriptionDefault
kindNodate formats the cells as dates (implied by a date field)text
fieldNoAlso map it in the config so the tools use it: replied_on (reply date), reached (furthest stage), followup_on, channel, … or a new name of your own; omit for a column the tools only show
headerYesThe header text, in the tracker's language
confirmNoToken from the dry run the user approved. Not needed when the client shows the server's confirmation dialog
dry_runNoOnly show what would change, plus the confirm token; write nothing
optionsNoA dropdown with these values (Excel; for reached the stages by default)
expected_versionNo`version` from your last read; the write is refused if the file changed since

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.1

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only say destructive/non-idempotent; the description adds the real behavioural detail: an undo reverts the column and the config line together, a backup is taken first, the write is refused when expected_version is stale, and the confirm/dry_run handshake is spelled out. That is exactly the context an agent needs before a destructive write.

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-loaded with the action and placement, then the confirmation workflow, then safety guarantees — a sensible order. Dense but each sentence carries information; the opening clause about header styling is slightly convoluted but still earns its place.

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

Completeness5/5

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

An output schema exists so return values needn't be described, and the description covers the remaining burden for a destructive, non-idempotent mutation: preview flow, confirmation token, version conflict handling, backup, and undo. Nothing an agent needs to invoke it safely is missing.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds value by explaining why `field` exists (it makes other tools use the column) and by explicitly tying `expected_version` to a refusal on concurrent change. It does not elaborate on `kind`, `options` interaction, or header language, so it sits above baseline but not at 5.

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 (add a column), plus the exact placement and styling rule: inserted after the last column with the header styled like its neighbour's. It also flags the config-mapping side effect for `field`, which no sibling tool does, so the agent can tell it apart from edit_application or fix_tracker.

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?

Explains when to set `field` (so the tools start using the column, checked via describe_tracker's unavailable_tools) and when to omit it, and gives the ordering rationale that columns must be added at the end. It does not name a sibling alternative to use instead when the column already exists, which keeps it short of a 5.

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