Skip to main content
Glama

delete_table

Deletes a table or view from Databricks Unity Catalog by its full catalog.schema.table name.

Instructions

Delete a table or view from Unity Catalog.

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": {
      "full_table_name": "<full_table_name>"
    },
    "name": "delete_table"
  }
}

Input Schema

NameRequiredDescriptionDefault
full_table_nameYesFull table name in format "catalog.schema.table"

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, yet it says nothing about irreversibility, whether underlying data files are removed, whether non-empty tables or tables referenced by views cause failure, or whether recovery is possible. For a destructive operation this is a substantial gap, though the word 'Delete' does at least signal mutation.

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?

A single front-loaded sentence with no filler or redundancy. Its brevity is efficient, though it borders on under-specification for a destructive operation.

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

Completeness2/5

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

For a destructive, irreversible tool with no annotations and no output schema, the definition omits failure modes, permission requirements, and confirmation of what is destroyed. The schema covers the input fully, but the behavioral envelope an agent needs before calling a delete is missing.

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 100%, so the three-part 'catalog.schema.table' format is already fully documented in the schema. The description adds only the useful detail that views are also valid targets, which is a marginal extension beyond the structured field.

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 ('Delete') and resource ('a table or view') and scopes it to Unity Catalog, which distinguishes it from the sibling delete_catalog and delete_schema tools by object type. It stops short of explicitly naming those siblings, but the resource is unambiguous.

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 guidance on when to use this tool versus the sibling delete_catalog, delete_schema, or get_table_details, and no prerequisites such as required ownership or permission level are mentioned. The agent must infer all routing and preconditions from the name alone.

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