Skip to main content
Glama
Bollard-db

Bollard MCP

Official
by Bollard-db

execute_query

Run SQL queries through a risk-tiered safety pipeline that requires confirmation and authorization for write operations.

Instructions

Execute a SQL query through the risk-tiered safety pipeline.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pinNoOS PIN for write authorization.
sqlYesSQL statement to execute.
confirmedNoRequired for write operations.
connectionYesDatabase alias (from connect_database).
output_modeNoOverride the connection's default output mode.
confirmation_phraseNoRequired for HIGH risk — typed phrase e.g. "confirm update 12000 rows".

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

No annotations are provided, so the description must disclose behavioral traits on its own. It references a safety pipeline but fails to explain what that entails, such as confirmation requirements, PIN usage, risk tiers, or potential side effects of write operations.

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 directly states the core function. No wasted words or redundancy.

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?

Despite having an output schema and complete parameter schema, the description is too sparse for a tool with risk tiers and confirmation flows. It does not convey how to navigate the pipeline, when certain parameters are required, or what success/failure looks like.

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 description coverage is 100%, so the schema already documents all six parameters clearly. The description adds minimal contextual value beyond naming the risk-tiered pipeline, which loosely aligns with parameters like 'confirmed' and 'confirmation_phrase' but does not deepen understanding.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/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, and the mention of a 'risk-tiered safety pipeline' adds useful context. However, it does not explicitly differentiate from sibling tools like preview_query, though the verb 'execute' implies actual execution rather than preview.

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?

No explicit guidance on when to use this tool versus alternatives. The phrase 'risk-tiered safety pipeline' hints at a specific execution path but there is no mention of preview_query or conditions for safe vs. unsafe usage.

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/Bollard-db/Bollard'

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