Skip to main content
Glama

Bytebase: describe table

bytebase_describe_table

Retrieve complete schema details for a table: columns, types, nullability, indexes, and foreign keys.

Instructions

Full definition of one table: columns with types and nullability, indexes, and foreign keys.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tableYesExact table name.
databaseYesDatabase reference, e.g. "prod/aurora-prod/salla".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.1

TDQS

A3.6/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. The description reveals what the tool returns (columns, indexes, foreign keys) but does not state that it is read-only, non-destructive, or require any special permissions. It also omits potential side effects or limitations. For a metadata retrieval tool, this is a notable gap since the agent cannot infer safety from annotations.

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, well-structured sentence that front-loads the core purpose ('Full definition of one table') and then lists the specific elements included. There is no redundant or filler content, making it efficient and easy to parse.

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?

For a simple describe operation, the description is nearly complete. It explains what the tool returns (columns, types, nullability, indexes, foreign keys) and the schema covers the required parameters. Without an output schema, this description sufficiently communicates the expected result. It does not mention output format or any caveats, but these are minor for this use case.

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?

The input schema fully describes both parameters: 'database' provides an example format, and 'table' says it's the exact table name. With 100% schema description coverage, the description adds little beyond the schema. It does not provide additional context about parameter formats or inter-dependencies, so a baseline of 3 is appropriate.

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

Purpose5/5

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

The description clearly states the tool describes a table and enumerates its contents: columns with types and nullability, indexes, and foreign keys. This distinguishes it from siblings like bytebase_search_tables (which finds tables) and bytebase_query (which executes queries). The verb 'describe' and the resource 'table' are specific and unambiguous.

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?

The description implies the tool is for retrieving table schema details, but it does not explicitly say when to use it instead of alternatives. There is no mention of using bytebase_search_tables to find a table before describing it, or that this is a read-only operation. The context is clear from the name, but no explicit guidance on when/when-not is provided.

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