Skip to main content
Glama
yeongbin-hwang

imply-druid-mcp

query_data_cube

Execute SQL queries on data cubes to retrieve aggregated data with custom dimensions and measures.

Instructions

Execute SQL query against a data cube (Pivot). Use 'source' from list_data_cubes. Syntax: FROM "datacube"."SOURCE", "DIM:dimension_name", MEASURE_BY_ID('measure_id')

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
query_stringYesSQL query with data cube syntax
exact_results_onlyNoUse exact results for TopN/COUNT DISTINCT (default: false)
Behavior3/5

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

No annotations are provided, so the description carries full burden. It discloses the data cube SQL syntax and effect of 'exact_results_only' parameter, but does not mention read-only nature, rate limits, or other behavioral traits. Adequate but not comprehensive.

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 concise (one sentence plus syntax hint), front-loaded with purpose, and contains no redundant information. Every sentence adds value.

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 complexity of data cube SQL queries, the description fairly complete with syntax and parameter notes. Lacks details on error handling or output, but no output schema exists. Context of using list_data_cubes for 'source' is helpful.

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 coverage is 100% with clear parameter descriptions. The description adds minimal extra meaning beyond the schema, only providing a syntax example. Baseline 3 is appropriate given high coverage.

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's purpose: 'Execute SQL query against a data cube (Pivot).' It specifies the verb and resource, and provides syntax hints. Distinguishes from sibling tools like execute_sql_query which target general SQL tables.

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 gives context by mentioning 'source from list_data_cubes' and syntax, but does not explicitly state when to use this tool versus siblings like execute_sql_query or cancel_query. Some implicit guidance exists but could be more explicit.

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/yeongbin-hwang/imply-druid-mcp'

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