Skip to main content
Glama
treasure-data

Treasure Data MCP Server

Official

list_tables

Lists all tables in a specified Treasure Data database, helping you explore available data before writing SQL queries. If the database is omitted, it uses the configured TD_DATABASE.

Instructions

List all tables in a specific database

Input Schema

NameRequiredDescriptionDefault
databaseNoThe database name (optional if TD_DATABASE is configured)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.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 behavioral burden. 'List all tables' implies a read-only, non-destructive operation and gives scope, but the description does not mention permissions, pagination, whether views or system tables are included, or what happens with an empty/missing database.

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

Conciseness5/5

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

The description is a single front-loaded sentence with no wasted words. It states the operation and scope immediately and is appropriately sized for the tool's simplicity.

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

Completeness4/5

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

Given the low complexity, one optional parameter with full schema coverage, and no output schema, the description is complete enough to call the tool correctly. Minor gaps remain around return shape and edge cases, but they are not severe for a simple list operation.

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 single optional database parameter is already fully documented in the schema. The description reinforces the database scoping intent but adds no syntax, format, or default behavior beyond what the schema provides.

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 states a specific verb and resource: list tables. It also scopes the operation to a specific database, making the purpose clear, though it does not explicitly distinguish itself from sibling tools such as list_databases or describe_table.

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?

The description implies when to use the tool by mentioning 'a specific database', but gives no explicit guidance on when to use it versus alternatives such as list_databases or describe_table. There are also no exclusions or prerequisite notes.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.