Skip to main content
Glama
treasure-data

Treasure Data MCP Server

Official

describe_table

Retrieve column definitions for a specified table—optionally within a database—to inspect schema and understand available fields before writing queries.

Instructions

Get column information for a specific table

Input Schema

NameRequiredDescriptionDefault
tableYesThe table name
databaseNoThe database name (optional if TD_DATABASE is configured)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations provided, the description carries the full disclosure burden but says nothing about read-only behavior, required permissions, error behavior on an unknown table, or how the optional database parameter resolves. It only implies a read operation through the verb 'Get'.

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 efficient sentence with the resource front and center and no filler. It is slightly under-specified rather than verbose.

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 two-parameter read tool this is close to adequate, but with no output schema the description never says what 'column information' contains (names, types, nullability, keys). That is a meaningful gap an agent must discover empirically.

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 the schema itself explains both the table name and the optional database fallback to TD_DATABASE. The description adds no syntax, format, or qualification details beyond that, so baseline 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 ('Get column information for a specific table'), which is clearly distinct from siblings like list_tables or query. It does not, however, explicitly contrast itself with those siblings.

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 statement of when to use this tool versus list_tables, query, or use_database. The intended usage (inspecting schema before composing a query) must be inferred entirely.

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