Skip to main content
Glama

lakeformation__DeleteDatabase

Deletes a specified LakeFormation database, with optional cascading removal of tables, partitions, and functions or deletion of data; default catalog databases cannot be deleted.

Instructions

[LAKEFORMATION] 删除指定数据库,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": {
      "catalog_name": "<catalog_name>",
      "database_name": "<database_name>",
      "instance_id": "<instance_id>",
      "project_id": "<project_id>"
    },
    "name": "lakeformation__DeleteDatabase"
  }
}

Input Schema

NameRequiredDescriptionDefault
cascadeNo是否级联删除数据库下的表、分区以及函数
project_idYes项目id
delete_dataNo是否删除数据库路径下的数据
instance_idYes实例Id
catalog_nameYescatalog名字
database_nameYes数据库名

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description discloses that this is a destructive delete operation and adds one important restriction (default database cannot be deleted). However, it does not cover irreversibility, required permissions, or how cascade/delete_data affect behavior beyond what the schema says.

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

Conciseness5/5

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

The description is a single, front-loaded sentence with zero wasted wording. It states the action and the key exclusion directly.

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 destructive six-parameter tool with no annotations, the description is minimally adequate: it establishes the operation and one restriction, while the schema fully documents parameters. It lacks deeper safety and usage context that would make it complete.

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%, so the baseline is 3. The description does not explain cascade or delete_data semantics, but those are already documented in the schema; it only adds the default-database deletion restriction.

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 and resource ('删除指定数据库') and adds the restriction that the catalog default database cannot be deleted. It does not explicitly distinguish this tool from sibling delete operations, so it falls short of 5.

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?

The only guidance is the constraint that the default database cannot be deleted. There is no explanation of when to use this tool versus alternatives, nor are prerequisites or recommended contexts provided.

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