Skip to main content
Glama
donald-ada

clickhouse

by donald-ada

query

Read-only

Execute SELECT statements on ClickHouse to retrieve data as JSON rows for read-only analysis.

Instructions

Execute a SELECT query and return results as JSON rows. Use for read-only operations only. For DDL or DML use execute instead.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sqlYesSELECT SQL statement
databaseNoDatabase context (optional)
Behavior4/5

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

Beyond the readOnlyHint annotation, the description adds that results are returned as JSON rows, which is valuable since no output schema is provided. It doesn't discuss edge cases like errors or pagination, but the annotation covers the safety aspect, so this 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?

Two sentences with no wasted words. The primary action and return format are front-loaded, followed by a clear usage directive. Perfectly concise.

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 tool with two parameters (one required) and no output schema, the description covers purpose, usage guidance, and return format. It doesn't mention performance limits or error cases, but given the low complexity and strong annotations, this is nearly complete.

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% for both parameters (sql and database). The description adds no extra parameter-specific meaning beyond what the schema already provides, so the baseline score 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 executes SELECT queries and returns JSON rows, distinguishing it from siblings like execute. The specific verb 'Execute' and resource 'SELECT query' make the purpose unambiguous.

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

Usage Guidelines5/5

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

Explicit guidance is provided: 'Use for read-only operations only' and 'For DDL or DML use execute instead.' This directly tells the agent when to use this tool and names the alternative.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/donald-ada/clickhouse'

If you have feedback or need assistance with the MCP directory API, please join our Discord server