Skip to main content
Glama

lakeformation__ListUsers

Retrieves users for a specified LakeFormation instance and project, with pagination and optional filters by user source or name pattern.

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

Input Schema

NameRequiredDescriptionDefault
limitNo查询返回条数。默认值为1000。最小值为1,最大值为2000。
markerNo查询的起始记录ID。最小长度为0,最大长度为256。
project_idYes项目编号。获取方法,请参见[获取项目ID](lakeformation_04_0026.xml)。
instance_idYesLakeFormation实例ID。创建实例时自动生成。例如:2180518f-42b8-4947-b20b-adfc53981a25。
user_sourceNo查询的用户来源。只能为IAM或SAML或LDAP或LOCAL或AGENTTENANT或OTHER。默认为IAM。IAM
reverse_pageNo是否查询上一页。默认为false。
user_name_patternNo用户模糊查询。只能包含字母、数字和_|*.特殊字符,且长度为1~255个字符。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.6/5.0
Behavior2/5

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

No annotations are provided, so the description bears the full behavioral burden and discloses none of it. It implies a read-only enumeration but says nothing about pagination semantics (marker/limit/reverse_page), the IAM vs SAML vs LDAP user-source split, permission requirements, or what the returned records look like.

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?

One short phrase with zero filler and the service prefix front-loaded, so nothing is wasted. The brevity itself is not the problem — the missing content is scored under 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 seven-parameter list tool with path-scoped instance and project identifiers, no output schema, and no annotations, a single phrase is far too thin. It leaves open what is returned, whether results are paginated, and what reverse_page or user_source actually change in the response.

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 seven parameters (limit, marker, project_id, instance_id, user_source, reverse_page, user_name_pattern) are already documented in the schema with patterns, defaults, and bounds. The description contributes no additional meaning about how these filters combine; 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?

"获取用户列表" states a verb plus resource and the [LAKEFORMATION] tag scopes it to this service, so an agent can tell it enumerates users. However, it is essentially a restatement of the tool name and gives no hint about the filtering/paging scope that separates it from the many other *ListUsers siblings (hss, vpn, workspace, drs, etc.). The purpose is graspable but adds almost nothing beyond the name.

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 or when-not-to-use guidance, no mention of prerequisites (instance_id, project_id must already exist), and no reference to alternatives such as list-by-group tools for narrowing a query. The agent must infer the appropriate situation 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