Skip to main content
Glama

lakeformation__RevokePrincipals

Revoke one or more users or groups from a LakeFormation role to remove their access. Specify instance, project, and role name to manage principal permissions.

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>",
      "role_name": "<role_name>"
    },
    "name": "lakeformation__RevokePrincipals"
  }
}

Input Schema

NameRequiredDescriptionDefault
role_nameYes角色名称。只能包含字母、数字和下划线,且长度为1~255个字符。
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.9/5.0
Behavior2/5

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

No annotations are supplied, and the description does not explain whether removal revokes permissions immediately, whether it is reversible, what auth is required, idempotency, or error behavior for unassigned principals. For a mutation tool this leaves significant behavioral gaps.

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

Conciseness4/5

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

The description is a single short, front-loaded sentence with no filler. The '[LAKEFORMATION]' tag is boilerplate but minimal; the brevity is appropriate, though it leaves gaps handled by other dimensions.

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 mutation tool with no annotations and no output schema, the definition should cover side effects, permissions, and return or error behavior. It only states the action, so an agent lacks enough context to invoke it safely beyond the input schema.

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 coverage is 100%, with descriptions for role_name, project_id, and instance_id carrying the parameter semantics. The description adds only the 'one or more' scope and no parameter-specific syntax or mapping beyond the schema.

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 states a specific verb (remove) and resource (users/user groups from a role), and implies batch semantics with 'one or more'. It is distinguishable from AssociatePrincipals and UpdatePrincipals, though it does not explicitly name alternatives.

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?

No guidance on when to use this versus AssociatePrincipals, UpdatePrincipals, or other revoke tools, and no prerequisites or exclusions are provided. The only context is the action itself.

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