Skip to main content
Glama
prepmonk

baic-dl-mcp

by prepmonk

ask_data_analyst

Pose a question about a knowledge cluster to a data analyst agent and receive answers via executed SQL queries. Supports session continuity and retries for empty results.

Instructions

Ask the Data Analyst agent a question about a knowledge cluster.

question must be the user's question VERBATIM - do not rephrase or elaborate it. The cluster's metadata and instructions supply the context the agent needs.

execute_query mirrors the UI's "Run SQL" toggle and defaults to true, which is almost always what is wanted: a question about data wants an answer, not a query. Only pass false when the user explicitly asks for the SQL without running it. Each attempt takes roughly 40-60s. Pass session_id to continue a conversation.

When executing, an empty result is retried up to max_attempts times, because the same question intermittently produces SQL that returns no rows. If every attempt comes back empty the result carries an execution_warning - an empty result is indistinguishable from a failed execution on this platform, so do not tell the user "there is no data".

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
questionYes
session_idNo
max_attemptsNo
execute_queryNo
knowledge_cluster_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior5/5

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

With no annotations, the description carries the full burden and excels by disclosing multiple behavioral traits: the verbatim question requirement, the retry-on-empty behavior, the 40-60s latency, and the warning that empty results are indistinguishable from failure. This goes well beyond basic expectations.

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 front-loaded with the core purpose, and every subsequent sentence provides necessary operational detail. It is appropriately sized for the tool's complexity, with no redundant or filler content.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description covers usage, parameter behavior, failure modes, and gotchas (such as not telling the user 'there is no data'), and an output schema exists to document return values. This makes the tool fully comprehensible for an agent.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, but the description explains question, execute_query, session_id, and max_attempts in context, leaving only knowledge_cluster_id to be inferred from the tool's purpose. This substantial compensation warrants a score above baseline, though not 5 because a few parameter specifics (e.g., max_attempts default) are not explicitly stated.

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 states a specific verb ("ask") and resource ("the Data Analyst agent about a knowledge cluster"), clearly distinguishing it from sibling tools that manage sources, pipelines, and clusters. It also provides essential context about verbatim questions, making 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 Guidelines4/5

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

The description gives clear context for when to use the tool (when a question about a knowledge cluster needs an answer) and provides operational guidance on execute_query, session_id, and empty-result behavior. It does not explicitly name alternative tools, so it falls short of a 5.

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/prepmonk/baic-dl-mcp'

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