Skip to main content
Glama
wenRou21

io.github.wenRou21/sqlbot-mcp-proxy

by wenRou21

sqlbot_generate_report

Generate data reports with analysis and charts from natural-language questions, with automatic fallback to local SVG if chart generation fails.

Instructions

Generate a SQLBot data report with analysis, conclusion, and chart. Falls back to a local SVG chart/report when SQLBot chart generation fails or times out.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
langNozh-CN
questionYesNatural-language report request.
access_keyNoOptional SQLBot API access key. Defaults to proxy env.
secret_keyNoOptional SQLBot API secret key. Defaults to proxy env.
datasource_idNoOptional SQLBot datasource id.
chart_timeout_msNo
data_preview_limitNo
prefer_sqlbot_chartNoTry SQLBot native chart generation before returning the local fallback report.
Behavior4/5

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

With no annotations, the description effectively discloses key behavior: generation with analysis, conclusion, chart, and automatic fallback to local SVG on failure or timeout. This goes beyond the schema, but could mention required auth or rate limits.

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 exceptionally concise: two sentences that cover purpose, output, and fallback behavior without any redundancy or unnecessary detail.

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

Completeness3/5

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

Given the complexity (8 params, no output schema), the description explains the report content (analysis, conclusion, chart) and fallback mechanism, but lacks specifics on output format or how the report is returned (e.g., file, data). This leaves some ambiguity for the agent.

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 schema already covers 63% of parameters with descriptions, meeting the baseline. The tool description adds no additional parameter-level information, so it neither improves nor detracts from the schema's clarity.

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 generates a SQLBot data report with analysis, conclusion, and chart, distinguishing it from sibling tools that focus on querying, describing, or listing. The fallback behavior is also mentioned, adding specificity.

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?

While the purpose is clear, there is no explicit guidance on when to use this tool versus alternatives like sqlbot_ask_data. The description implies usage for report generation but does not provide when-not or contextual triggers.

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/wenRou21/sqlbot-mcp-proxy'

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