Skip to main content
Glama

lakeformation__BatchCheckPermission

Batch-check LakeFormation permissions for users, groups, or roles on catalogs, databases, tables, columns, functions, models, or URIs before access decisions or policy audits.

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

Input Schema

NameRequiredDescriptionDefault
project_idYes项目编号。获取方法,请参见[获取项目ID](lakeformation_04_0026.xml)。
instance_idYesLakeFormation实例ID。创建实例时自动生成。例如:2180518f-42b8-4947-b20b-adfc53981a25。
access_requestYes主体信息

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

D1.7/5.0
Behavior1/5

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

No annotations are supplied, so the description carries the full burden of behavioral disclosure, and it discloses nothing. It does not say the operation is read-only/non-mutating, does not mention the batch size limit (maxItems 100 on access_request, 2000 principals), and does not describe what the result contains (no output schema either).

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

Conciseness2/5

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

The text is a single five-character phrase, so there is no bloat, but it is under-specified rather than concise. Nothing is front-loaded because there is nothing to front-load beyond the name.

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?

The tool takes three required parameters, including a complex nested array of check requests (principal lists, resource types, an enum of 21 actions) and returns results with no output schema. A title-translation description is completely inadequate for that complexity.

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 the schema itself fully documents project_id, instance_id, and the nested access_request structure with its action enum and resource types. The description contributes no additional meaning, which is the baseline case for complete schema coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

"批量鉴权" (batch authorization) is essentially a Chinese restatement of the tool name BatchCheckPermission; it adds no verb nuance, scope, or resource detail beyond the name itself. It never clarifies whether it evaluates permissions for principals against resources, or how it differs from lakeformation__BatchAuthorizeInterface.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines1/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance at all: no prerequisites, no preconditions, no mention of alternatives such as cloudtest__CheckPermission or lakeformation__BatchAuthorizeInterface. With roughly 30 sibling tools covering permission checks, an agent gets zero help choosing this one.

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