Skip to main content
Glama

lakeformation__UpdateFunction

Modify function properties such as owner, class name, type, and resource URIs to update metadata for a catalog database function.

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>",
      "class_name": "<class_name>",
      "database_name": "<database_name>",
      "function_name": "<function_name>",
      "function_type": "<function_type>",
      "instance_id": "<instance_id>",
      "owner": "<owner>",
      "owner_type": "<owner_type>",
      "project_id": "<project_id>"
    },
    "name": "lakeformation__UpdateFunction"
  }
}

Input Schema

NameRequiredDescriptionDefault
ownerYes函数所有者。只能包含字母、数字和下划线,且长度为1~256个字符。
class_nameYes函数类名。长度为1~4000个字符。
owner_typeYes所有者类型,USER-用户,GROUP-组,ROLE-角色
project_idYes项目id
create_timeNo创建时间格式为yyyy-mm-ddThh:mm:sss
instance_idYes实例Id
catalog_nameYescatalog名字
database_nameYes数据库名字
function_nameYes函数名称。只能包含字母、数字和下划线,且长度为1~256个字符。
function_typeYes函数类型,JAVA
resource_urisNo函数地址信息
owner_auth_source_typeNo所有者授权来源类型,IAM-云,SAML-联邦,LDAP-ld用户,LOCAL-本地,AGENTTENANT-委托,OTHER-其它

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.4/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden, yet it only says attributes are modified. It does not disclose whether this is a full replacement (plausible given 9 required parameters) or a partial update, what happens to omitted fields, whether changes are reversible, or what authorization is required.

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?

The description is a single short phrase with no wasted wording, but it is under-specified rather than genuinely concise. It is front-loaded with the tool tag and verb, which is good, but there is no structure beyond that.

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?

For a mutation tool with 12 parameters (9 required), no annotations, and no output schema, a four-character phrase is completely inadequate. It gives an agent nothing about semantics, side effects, or return behavior needed to invoke it correctly.

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 every parameter is already documented in the schema, including enums and field constraints. The description adds no meaning about any parameter, so the baseline of 3 applies.

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 function attributes), which is clearer than a bare name, but it essentially restates the tool name UpdateFunction and never specifies which attributes are modifiable. An agent can tell it is an update operation, but not its scope relative to siblings such as UpdateCatalog or UpdateDatabase.

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 CreateFunction, DeleteFunction, ShowFunction, or the other Update* siblings, nor any prerequisites such as required permissions or the need for an existing function. Usage must be inferred entirely from the 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