Skip to main content
Glama
msharsha565-create

SQLite Explorer MCP

run_query

Execute a single read-only SELECT against a SQLite database to inspect data safely; writes, schema changes, multiple statements, and PRAGMA/ATTACH are rejected, with row and time caps.

Instructions

Run ONE read-only SELECT statement. Writes, PRAGMA, ATTACH and multiple statements are rejected. Results are capped at 200 rows (check truncated) and queries time out after 2s.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sqlYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior5/5

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

With no annotations present, the description carries the full behavioral burden and does so: it discloses the row cap of 200, the existence of a `truncated` indicator, and a 2-second timeout. It also declares the rejection set, so an agent knows which statements will fail before attempting them.

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?

Three short sentences, front-loaded with the primary constraint and every sentence adding a distinct operational fact. Nothing is redundant.

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?

An output schema exists, so return values need not be explained, and the description still flags `truncated` as worth checking. The only remaining gap is the absence of dialect or parameter-binding guidance, which is minor for a single-argument tool.

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 0% for the single `sql` parameter, and the description says only that it must be one SELECT statement, implying no semicolon-separated statements. It adds no dialect or binding information beyond that constraint.

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 ONE read-only SELECT statement') and immediately constrains it to a single read query. Siblings (list_tables, describe_table, get_schema_ddl) are schema-introspection tools, so the contrast is implicit rather than stated, which keeps it just short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Enumerates what is rejected (writes, PRAGMA, ATTACH, multiple statements), which tells an agent when NOT to use it, and the SELECT-only framing implies it should be used to retrieve data rather than inspect schema. It does not name a preferred sibling when a schema question arises.

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

Deploy Server

Other Tools