Skip to main content
Glama
PlanetMarc

SqlDb-MCP-Server

by PlanetMarc

execute_query

Run SQL queries to fetch or update data, enabling direct database interaction.

Instructions

Execute a SQL query on the database

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYesSQL query to execute
Behavior2/5

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

With no annotations provided, the description carries the full burden for behavioral disclosure. It merely says 'execute a SQL query' without warning that this could modify data, require specific permissions, or produce side effects. The agent is not informed whether read-only queries are enforced or if destructive operations are possible, which is a critical omission.

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 that wastes no words. It is concise and immediately understandable, earning full marks for conciseness and structure.

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

Completeness2/5

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

For a tool that executes arbitrary SQL, the description is severely incomplete. With no output schema and no annotations, the agent has no idea what the return value looks like (e.g., result set, affected row count), what errors might occur, or what safety constraints apply. The minimal description is insufficient for an agent to use this tool effectively and safely.

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 the 'query' parameter described as 'SQL query to execute'. The description adds no additional meaning beyond the schema, so the baseline score of 3 applies.

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 a SQL query on the database, using a specific verb and resource. This distinguishes it from the sibling tool get_schema_info, which retrieves schema information, so there is no ambiguity about what this tool does.

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 gives no guidance on when to use this tool versus get_schema_info. It does not mention contexts, prerequisites, or exclusions, leaving the agent to infer appropriate usage without any supporting direction.

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/PlanetMarc/SqlDb-MCP-Server'

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