Skip to main content
Glama

Clear column metadata

delete_column_metadata
Idempotent

Clear custom metadata for one field of an entity, reverting to what the schema itself says. This removes the semantic enrichment added via update_column while preserving the field's own type information. Use this to remove incorrect or outdated annotations, on a column of an entity that answers in rows or on a path inside one that answers with a document. Because deletion erases every field at once, it is refused while any field was set by a person in the UI (get_column_metadata shows field_sources) - remove your own fields with update_column's clear list instead. Example: delete_column_metadata(entity='users', path='status')

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": {
      "entity": "<entity>",
      "path": "<path>"
    },
    "name": "delete_column_metadata"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesPath to one field of that entity. For an entity that answers in rows this is a column's name ('status'); for one that answers with a document it is the projection path ('campaign.status', 'result.homes[].price'), and a path ending in '*' is an open region, classified as a unit.
entityYesEntity to address: a table of rows or a document, named `schema.entity` (for example 'google_ads.campaign_status') or by its bare name when that is unambiguous in the datasource.
datasourceNoOptional datasource ID to target. Omit to use the project's configured default; required when the project has multiple datasources and no default is configured. Each datasource has its own SQL dialect: get_schema lists every datasource with its type, dialect and identifier quote, and every result carries datasource_type and dialect.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior4/5

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

Goes well beyond the annotations by disclosing the preservation guarantee (field type information survives), the refusal precondition tied to UI-authored fields, and the all-or-nothing scope of the deletion. The one tension is that annotations declare destructiveHint=false and idempotentHint=true while the text emphasizes that "deletion erases every field at once" — defensible since only derived metadata is removed and the operation is repeatable, but it would benefit from an explicit statement that repeated calls are safe.

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 purpose, then behaviour, then the refusal condition, then an example — a logical order with no filler sentences. The em-dash digression pointing at get_column_metadata is slightly dense but each clause carries real information; nothing reads as padding.

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?

For a destructive-ish mutation with no output schema, the description covers everything an agent needs: what is removed, what is preserved, when the call is refused, what to do instead, and a worked example. Nothing consequential is left to inference.

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 usable semantics on top: it explains that the target may be either a row column or a projection path inside a document, and closes with a concrete call example (entity='users', path='status'). Minor gap: the optional datasource parameter is only covered by the schema, not discussed despite its multi-datasource implications for targeting.

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 ("Clear custom metadata for one field of an entity") and immediately scopes it against alternatives: it removes semantic enrichment added via update_column while preserving the field's own type information. An agent can distinguish this from get_column_metadata and delete_table_metadata without opening any schema.

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

Usage Guidelines5/5

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

Gives an explicit when-to-use (remove incorrect or outdated annotations), a when-not/refusal condition (refused while any field was set by a person in the UI), and names the alternative path (update_column's clear list for your own fields, get_column_metadata to inspect field_sources). Guidance is actionable in both directions.

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