Skip to main content
Glama

lakeformation__UpdateDatabase

Modifies LakeFormation database attributes—owner, location, description, tags, and table/function paths—to keep metadata aligned with access and storage changes.

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

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

C2.5/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 discloses nothing beyond an implied mutation. It does not say whether the update is partial or full-replace (critical with 12 optional fields), whether permissions or owner/auth-source prerequisites apply, whether changes are reversible, or how failures surface.

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

Conciseness3/5

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

It is a single short clause with no waste, but the brevity reflects under-specification rather than disciplined structure. There is no front-loaded scope, constraint, or consequence statement.

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 12-parameter, nested-object mutation tool with no annotations and no output schema, the description is far too thin. An agent cannot tell which of the optional fields are actually updatable, what the required path identifiers mean, or what a successful response looks like.

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 already documents every parameter including enums for owner_type and owner_auth_source_type and path patterns. The description adds no parameter meaning at all, which is acceptable at this coverage level but earns no bonus.

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

Purpose3/5

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

The description states a verb and resource ("修改数据库属性" = modify database attributes), which is more specific than a bare name restatement, but it never says which attributes are mutable or how this differs from sibling mutation tools such as UpdateTable, UpdateCatalog, or UpdateFunction. An agent must open the schema to learn that owner, location, description, parameters, and location lists are involved.

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 (instance/catalog/project scoping), and no pointer to alternatives like CreateDatabase, DeleteDatabase, or ShowDatabase. Usage must be inferred entirely from the tool name.

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