Skip to main content
Glama

lakeformation__UpdateRoles

Updates roles assigned to a specified user in a LakeFormation instance, enabling access permission adjustments.

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": {
      "instance_id": "<instance_id>",
      "project_id": "<project_id>",
      "user_name": "<user_name>"
    },
    "name": "lakeformation__UpdateRoles"
  }
}

Input Schema

NameRequiredDescriptionDefault
user_nameYes用户名。只能包含字母、数字、下划线和中划线,且长度为1~256个字符。
project_idYes项目编号。获取方法,请参见[获取项目ID](lakeformation_04_0026.xml)。
instance_idYesLakeFormation实例ID。创建实例时自动生成。例如:2180518f-42b8-4947-b20b-adfc53981a25。

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 and provides almost nothing. 'Update' implies a mutation, but the text does not disclose whether existing roles not listed are removed (destructive replace semantics), what permissions are required, or whether the change is reversible.

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 sentence with zero filler and is front-loaded, which is good. But its brevity comes at the cost of under-specification rather than genuine economy, so it does not earn a high score on structure alone.

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 three-parameter mutation tool with no annotations and no output schema, the description should at minimum clarify replace-vs-incremental semantics and permission needs. Neither is covered, leaving the agent without the information needed to invoke it safely.

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 all three path parameters (user_name, project_id, instance_id) are already fully documented with patterns and examples. The description adds no additional meaning about how these identifiers scope the role update, so the baseline 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 ('更新'/update) and a resource ('用户中的角色'/roles in a user), so the general intent is legible. However, it does not distinguish this from siblings like lakeformation__UpdateRole, lakeformation__AssociateRoles, or lakeformation__RevokeRoles, nor does it say whether the update replaces the user's whole role set or modifies individual grants.

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 and no mention of alternatives. An agent cannot tell from this text whether to call UpdateRoles versus AssociateRoles/RevokeRoles for a given change, and no prerequisites or exclusions are given.

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