Skip to main content
Glama

lakeformation__BatchAuthorizeInterface

Grants or denies LakeFormation permissions in batches to principals for catalogs, databases, tables, columns, functions, models, or URIs with optional row and column filters.

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": {
      "effect": "<effect>",
      "instance_id": "<instance_id>",
      "permissions": "<permissions>",
      "principal_list": "<principal_list>",
      "project_id": "<project_id>",
      "resource": "<resource>"
    },
    "name": "lakeformation__BatchAuthorizeInterface"
  }
}

Input Schema

NameRequiredDescriptionDefault
effectYes拒绝/允许
resourceYes资源信息
data_maskNo列掩码
conditionsNo条件
project_idYes项目id
data_filterNo行过滤
instance_idYesinstance id
permissionsYes权限列表
principal_listYes主体信息
grant_able_permissionsNo可传递的权限列表

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

D1.9/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 disclosure burden for a mutation tool, and it discloses nothing. It does not say whether the call is additive or overwrites existing policies, what effect=false (deny) does to prior grants, whether it is idempotent, or what permissions the caller needs.

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 short but not concise in a useful sense: it is a single bracketed tag plus a five-character restatement of the name, so the brevity comes from under-specification rather than economy. There is no structure, no front-loaded explanation of what gets authorized, and no information an agent can act on.

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?

For a tool with 10 parameters, 6 required, deeply nested resource/principal objects, and no annotations or output schema, the description omits every piece of context an agent would need to call it safely. The complexity of the input schema makes this one-phrase description completely inadequate.

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% with 10 documented parameters including nested resource, principal, and permission structures, so the schema already carries the semantics. The description adds no clarification of effect, data_mask/data_filter, conditions, or grant_able_permissions beyond what the schema states, which is the baseline-3 case for high 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?

"[LAKEFORMATION] 批量授权接口" essentially restates the tool name (BatchAuthorizeInterface) as "batch authorization interface" without naming the resource being authorized, the principals, or the effect direction (grant vs. deny). An agent learns nothing it could not already infer from the name, and nothing distinguishes it from siblings like AuthorizeAccessService or BatchCancelAuthorizationInterface.

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 such as AuthorizeAccessService (single authorization) or BatchCancelAuthorizationInterface (revocation). The word "批量" hints at batch semantics but that is already in the name, so effectively no guidance is provided.

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