Skip to main content
Glama

lakeformation__ListGroupsForDomain

Retrieves the user groups assigned to a tenant domain so you can review group membership by source, page through results, and manage LakeFormation access.

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

Input Schema

NameRequiredDescriptionDefault
limitNo返回的条目数量
markerNo查询的起始记录ID
project_idYes项目id
instance_idYesinstance id
group_sourceNo查询的用户组来源IAM
reverse_pageNo是否查询上一页

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 exist, so the description carries full burden, yet it discloses nothing: not that results are paged, not that group_source selects IAM/SAML/LDAP/LOCAL, not permission or tenant-scoping requirements. '获取' is a safe read by implication only.

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?

A single short phrase with the service tag front-loaded, so nothing is wasted. However, brevity here is under-specification rather than efficiency; the sentence is too thin to earn its place against the schema.

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?

Six parameters, one enum, two required path IDs, pagination controls, and no output schema or annotations. Given that complexity, a one-line description is not enough – the agent learns nothing about paging direction semantics or what fields the returned groups contain.

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 limit, marker, reverse_page, group_source, project_id and instance_id are already documented; the description adds no extra meaning. Baseline 3 applies, though the phrase '用户组' arguably foreshadows the group_source enum without explaining it.

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?

Names a verb+resource ('获取...用户组') and scopes it to a tenant/domain, so the basic action is legible. But it never explains what a 'domain' is here, does not reconcile the name's 'ForDomain' with the text's '租户', and gives no basis for choosing it over the many sibling group-listing tools (iam__KeystoneListGroupsForUser, iam__ListEnterpriseProjectsForGroup, etc.).

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 prerequisites, and no mention of alternatives. The only context signal is the bracketed service tag [LAKEFORMATION], which hints this lists LakeFormation-side groups rather than IAM groups, but the agent must infer that.

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