Skip to main content
Glama
dockndevai

mcp-clickhouse

List tables

list_tables
Read-onlyIdempotent

Inspect tables in a ClickHouse database and return each table's engine, row count, and size to support schema exploration and query planning.

Instructions

List tables in a database with engine, row count, and size.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
databaseYesDatabase name

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.2.2
    • removedInput schema / additionalProperties
      Removed value: -false
  2. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, openWorldHint=true, and destructiveHint=false, so safety and mutation behavior are covered. The description adds useful value by naming the returned columns (engine, row count, size), but says nothing about pagination, permissions, or result size limits. With annotations carrying the safety profile, a 3 is appropriate.

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?

A single front-loaded sentence with zero filler; the resource and the returned fields are both delivered immediately.

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 read-only list tool with one documented parameter and no output schema, the description tells the agent what it gets back and where the tables live. The only meaningful gap is the absence of sibling disambiguation, which is minor given the tool's simplicity.

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?

There is one parameter ('database') and schema description coverage is 100%, so the schema already documents it. The phrase 'in a database' reinforces the parameter's role but adds no syntax, format, or scoping detail beyond the schema. Baseline 3 is correct.

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?

States a specific verb (List) and resource (tables in a database), and even previews the returned fields (engine, row count, size). It does not, however, differentiate itself from close siblings like describe_table, show_create_table, or table_stats, which an agent could easily confuse with this one.

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 alternatives. Given siblings such as list_databases, describe_table, and table_stats, the description should route the agent but instead leaves all timing and exclusion logic to inference.

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