Skip to main content
Glama

delete_schema

Removes a schema from a Databricks catalog. Set force=true to delete a schema that still contains tables.

Instructions

Delete a schema from a catalog. Use force=true to delete schemas with tables.

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_schema_name": "<full_schema_name>"
    },
    "name": "delete_schema"
  }
}

Input Schema

NameRequiredDescriptionDefault
forceNoForce delete even if schema contains tables (default: false)
full_schema_nameYesFull schema name in format "catalog.schema"

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does disclose the important destructive nuance that force=true will remove a schema that still contains tables, which goes beyond the name. It does not state whether contained tables are destroyed with it, whether the operation is irreversible, or what permissions are required.

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?

Two short sentences with the core action front-loaded and no filler. The force note mildly duplicates the schema text, which is the only inefficiency.

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?

For a two-parameter destructive tool with no annotations and no output schema, the definition covers the basics but omits what an agent most needs to know before calling it: the fate of tables inside a force-deleted schema, reversibility, and required permissions.

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 description coverage is 100%, and the description's force explanation largely restates the schema's own wording ('Force delete even if schema contains tables'). No additional format, default, or interaction detail is added, so the baseline of 3 applies.

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 uses a specific verb+resource pair ('Delete a schema from a catalog') and names the containing resource, which distinguishes it from delete_table and delete_catalog. It stops short of explicitly routing the agent away from those siblings, but the resource noun carries the differentiation.

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

Usage Guidelines3/5

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

The second sentence gives a concrete condition for the force flag, which is genuinely useful guidance. However, there is no explicit when-to-use/when-not-to-use framing relative to alternatives such as delete_table or delete_catalog, so usage is only implied.

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