Skip to main content
Glama
visorcraft

MongrelDB-Viewer

execute_sql

Run MongrelDB SQL statements with DataFusion to explore data, using read-only SELECT queries and optional row limits for controlled results.

Instructions

Run a MongrelDB SQL statement (DataFusion). Prefer read-only SELECT for exploration.

Input Schema

NameRequiredDescriptionDefault
sqlYes
max_rowsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.6.7

TDQS

C2.9/5.0
Behavior2/5

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

No annotations at all, so the description carries the full burden. It never says whether writes/DDL are permitted or persist, what permissions are required, how errors surface, or what the result looks like. "Prefer read-only SELECT" hints at risk without quantifying it.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences, zero repetition, with the core action front-loaded. It is terse to the point of under-specification, but contains no filler.

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 an arbitrary-SQL execution tool with no annotations and no output schema, the description says almost nothing about security posture, mutability, result shape, or row-limit semantics. An agent could call it correctly mechanically, but not safely or predictably.

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?

Schema description coverage is 0%, so the description must compensate. It only implicitly maps "SQL statement" to the `sql` parameter and adds the dialect hint; `max_rows` (bounds 1–10000) is never mentioned, including what it caps or whether a default applies.

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?

States a specific verb and resource ("Run a MongrelDB SQL statement") and names the query engine (DataFusion), so the agent knows this is the raw-SQL escape hatch. It does not explicitly contrast itself with structured siblings like list_tables or describe_table, leaving differentiation implicit.

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?

"Prefer read-only SELECT for exploration" implies a usage posture (exploration vs. mutation) but never states when to call this instead of list_tables/describe_table/semantic_search, nor any exclusions. Usage is inferable but not spelled out.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.