Skip to main content
Glama

lakeformation__ListInterfaces

Queries LakeFormation permission interfaces using filter conditions, returning authorization entries for a metadata resource, principal, or resource type. Supports paging with limit and marker.

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

Input Schema

NameRequiredDescriptionDefault
limitNolimit
filterNoexpression
markerNopage token
project_idYes项目id
instance_idYesinstance id
resource_nameNo元数据资源全名
resource_typeNo元数据资源类型
principal_nameNo授权主体名称
principal_typeNo授权主体类型
principal_sourceNo授权主体来源

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.3/5.0
Behavior2/5

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

With no annotations, the description carries the full burden. The verb '查询' implies a read-only listing, but nothing is said about permission requirements, whether results are scoped to the instance/project path parameters, default page size, or what happens when the filter expression is malformed. Only the bare notion of filtering is conveyed.

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?

The single bracketed line is free of padding, but its brevity reflects under-specification rather than tight writing. It is front-loaded with a service tag rather than with the action and scope.

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 ten-parameter listing tool with three enum dimensions, path-scoped identifiers, and no annotations or output schema, one sentence is far from sufficient. The description does not tell the agent what a result item is or how limit/marker paging behaves, leaving key call-shaping details undocumented.

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 every parameter, including the enum sets for resource_type, principal_type, and principal_source, is already documented in the schema. The description only hints that 'filter' is an expression, adding no syntax, format, or combination semantics beyond the schema.

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?

The description '通过过滤条件查询接口' essentially restates the tool name (ListInterfaces) plus the word 'filter', without saying what an 'interface' is in LakeFormation or what entity is being listed. Given ten parameters spanning resource types, principals, and sources, an agent cannot tell from the text whether this lists authorization/policy entries, API endpoints, or something else.

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, when-not-to-use, or alternative guidance. The many sibling List tools (ListAccessInfos, ListPrincipals, ListPolicy, ListSpecs) are not referenced, so the agent gets no help choosing between this and adjacent listing tools.

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