Skip to main content
Glama

lakeformation__CreateDatabase

Creates a database in Huawei Cloud LakeFormation under a specified catalog and instance, using project, owner, and optional location or parameter settings.

Instructions

[LAKEFORMATION] 创建数据库

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__CreateDatabase"
  }
}

Input Schema

NameRequiredDescriptionDefault
ownerNo数据库所有者。长度为0~128个字符。
locationNo数据库路径地址。例如obs://location/uri/
owner_typeNo所有者类型,USER-用户,GROUP-组,ROLE-角色。LakeFormation服务分为一期和二期,一期响应Body无该参数。
parametersNo标签信息
project_idYes项目id
descriptionNo数据库描述信息。由用户创建数据库时输入,最大长度为4000个字符。
instance_idYes实例Id
catalog_nameYescatalog名字
database_nameYes数据库名称。只能包含中文、字母、数字和下划线,且长度为1~128个字符。
table_location_listNo表路径列表
function_location_listNo函数路径列表
owner_auth_source_typeNo所有者来源,IAM-云用户,SAML-联邦,LDAP-ld用户,LOCAL-本地用户,AGENTTENANT-委托,OTHER-其它。LakeFormation服务分为一期和二期,一期响应Body无该参数。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

D1.9/5.0
Behavior1/5

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

With no annotations at all, the description carries the full behavioral burden and delivers nothing: no statement of mutation/irreversibility, no permission or IAM requirements, no behavior on duplicate database names, and no indication of what the call returns. A create operation with zero disclosure is a serious 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 short string is not wasteful but is under-specified rather than concise; it is a bare tag plus the resource name, front-loaded with a redundant product prefix instead of useful information.

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?

This is a 12-parameter create/mutation tool with no annotations and no output schema, yet the description offers no behavior, prerequisites, or error semantics. It is completely inadequate relative to the tool's complexity.

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 schema fully documents all 12 parameters including the enum-constrained owner_type and owner_auth_source_type and the location URI patterns. Per the baseline rule, a 3 applies since the description adds no meaning beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description "[LAKEFORMATION] 创建数据库" only restates the tool name CreateDatabase in Chinese, adding no scope, qualifiers, or differentiation from siblings such as lakeformation__UpdateDatabase or lakeformation__CreateCatalog. An agent learns nothing beyond what the name already tells it.

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 mention of prerequisites (catalog/instance/project must exist), and no routing to alternatives like ShowDatabase for verification. Sibling tools imply the alternatives exist, but the definition itself supplies no guidance.

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