Skip to main content
Glama

Supabase: Add column

supabase_add_column
Destructive

Add a new column to an existing Supabase table by specifying the site, table, column name, type, and optional schema, nullability, and default value.

Instructions

[UNIFIED] Add a new column to an existing table.

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": {
      "site": "<site>",
      "table": "<table>",
      "column_name": "<column_name>",
      "column_type": "<column_type>"
    },
    "name": "supabase_add_column"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteYes
tableYes
schemaNopublic
nullableNo
column_nameYes
column_typeYes
default_valueNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv3.14.0
  2. Removedv3.13.1
  3. First observedv3.4.0

TDQS

C2.3/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false, and destructiveHint=true, so the safety profile is covered structurally. The description adds nothing beyond that: it does not say what happens to existing rows when a non-nullable column without a default is added, whether the operation can be reverted, or what happens on name collisions. For a destructive DDL operation with seven parameters, that is a real gap.

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

Conciseness2/5

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

The single sentence is short but under-specified rather than concise; it spends words on the meaningless "[UNIFIED]" tag while omitting the parameter semantics that matter. There is no structure beyond one clause.

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

Completeness1/5

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

For a seven-parameter, non-idempotent, destructive schema mutation with no output schema and zero schema description coverage, the description provides no information an agent needs to call it correctly. Nearly everything must be inferred from parameter names alone.

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

Parameters1/5

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

Schema description coverage is 0% and the description mentions none of the seven parameters. It gives no meaning for column_type format (Postgres type syntax), the schema default of 'public', the nullable default of true, or how default_value interacts with nullable — all of which materially change the outcome.

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 sentence gives a specific verb and resource ("Add a new column to an existing table"), so an agent knows exactly what operation is performed. It does not differentiate from siblings such as supabase_create_table or supabase_drop_column, and the "[UNIFIED]" prefix is unexplained noise.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance, no prerequisites (e.g., table must exist, required privileges), and no mention of alternatives for schema changes. The only implied context is that a table already exists.

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

Deploy Server

Other Tools