Skip to main content
Glama

lakeformation__ListPartitions

Lists partitions for a specified table, enabling version-specific partition retrieval when working with transactional tables.

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": {
      "catalog_name": "<catalog_name>",
      "database_name": "<database_name>",
      "instance_id": "<instance_id>",
      "project_id": "<project_id>",
      "table_name": "<table_name>"
    },
    "name": "lakeformation__ListPartitions"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo查询返回条数
filterNo分区过滤条件
markerNo查询的起始记录ID
project_idYes项目id
table_nameYes表名称
instance_idYes实例ID
catalog_nameYescatalog名字
reverse_pageNo是否查询上一页
database_nameYes数据库名字
partition_valuesNo分区的值列表

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.1/5.0
Behavior3/5

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

With no annotations, the description must carry the full behavioral burden. It discloses the traversal scope and the transactional-table version capability, which is useful context beyond the schema, but it never states that the operation is read-only, what permissions or prerequisites are needed, or how results are paged or ordered.

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?

A single compact sentence with the resource scope front-loaded, and no redundant restatement of the tool name. It is efficient, though the bracketed service tag consumes space without adding selection value.

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?

This is a ten-parameter tool with five required path parameters, no annotations, and no output schema. The description never explains the return shape (partition objects vs. names), how limit/marker/reverse_page combine for paging, or how filter and partition_values interact, leaving substantial gaps for a tool of this 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 all ten parameters are already documented in the input schema and the baseline is 3. The description adds no parameter-level meaning, and notably references a 'specific table version' capability that has no corresponding parameter in the schema, which could mislead an agent looking for a version argument.

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

Purpose4/5

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

The description names a specific verb and resource: traversing the partition list under a given data table, plus a note that transactional tables support version-scoped traversal. It is clear what the tool returns conceptually, but it does not distinguish itself from close siblings such as lakeformation__ListPartitionNames or lakeformation__BatchListPartitionByValues, so the agent cannot tell which to pick from the text alone.

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 explicit when-to-use or when-not-to-use guidance and no named alternative. The only usage-adjacent statement is that transactional tables support version-based traversal, which hints at a scenario but does not tell the agent when to choose this tool over the other partition-listing siblings.

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