Skip to main content
Glama

lakeformation__ListTablesByName

Retrieves table information from a LakeFormation database by table names, enabling targeted metadata lookup for specified catalog, database, and instance.

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_names": "<table_names>"
    },
    "name": "lakeformation__ListTablesByName"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYes项目id
instance_idYes实例ID
table_namesYes被查询表的名字列表
catalog_nameYescatalog名字
database_nameYes数据库名字

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full disclosure burden, and it only says the tool returns a list of table information. It does not state what happens when a requested table name does not exist, whether matching is exact, how results are ordered or paginated, or what permissions the caller needs. The read-only nature is implied by '查询'/'列表' but never affirmed.

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, front-loaded sentence with no padding, prefixed by a service tag that aids routing. It is well sized for a simple list tool, though the tag consumes space without adding semantic value inside the description body.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a five-required-parameter read tool with a fully documented schema and no output schema, the description covers the core intent but leaves the return shape and not-found behavior unaddressed. Minor gaps are acceptable on a read-only listing, but this is only minimum-viable completeness.

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%, and all five parameters (project_id, instance_id, catalog_name, database_name, table_names) already carry Chinese descriptions with patterns and bounds. The description adds nothing about the multi-value table_names list or its 1000-item cap, so the baseline of 3 applies.

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 (query table information list under a database) and a filter (by table names), which is more precise than a bare restatement. It does not explicitly contrast itself with the sibling lakeformation__ListTables, but the 'ByName' qualifier and '根据表名' phrasing make the distinction inferable.

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

Usage Guidelines3/5

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

Usage is implied rather than stated: an agent can infer this is the right call when it already knows specific table names, and that ListTables is presumably the unfiltered alternative. There is no explicit when-to-use/when-not-to-use statement, no prerequisites, and no named alternative.

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