Skip to main content
Glama
1franky

Data Platform MCP

by 1franky

validate_sql

Parse and classify SQL queries for a selected database connection without executing them, ensuring syntax and structure are validated safely before use.

Instructions

Parse and classify SQL for the selected connection without executing it.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sqlYes
connection_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
validYes
dialectYes
warningsYes
read_onlyYes
executableYes
normalized_sqlYes
statement_typeYesNormalized statement families exposed through MCP and audit.
blocked_reasonsYes
parameter_namesYes
referenced_objectsYes
multiple_statementsYes
Behavior3/5

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

No annotations are provided, so the description carries the full transparency burden. It discloses the key non-execution behavior, which is important, but does not mention error handling, permissions, or the format of classification results.

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 a single, front-loaded sentence with no superfluous words. It efficiently conveys the core action and a critical constraint.

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?

The tool has an output schema, so return values need not be described. The core behavioral guarantee (no execution) is covered, but more detail about prerequisites (e.g., active connection) and failure modes would strengthen completeness.

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

Parameters2/5

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

With 0% schema description coverage, the description should compensate by explaining parameter semantics. It only maps indirectly to 'selected connection' and 'SQL'; it does not define connection_id format, SQL dialect, or how classification is returned.

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 ('Parse and classify SQL') and resource ('for the selected connection'), and explicitly notes the tool does not execute the SQL. This clearly distinguishes it from execution-focused sibling tools like execute_read_query.

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?

The description provides no explicit guidance on when to use this tool versus alternatives such as explain_query or validate_mongo_query. It implies validation use case but does not mention exclusions or fallback tools.

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/1franky/data-analits-MCP'

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