Skip to main content
Glama

Nexlorin Platform DevTools

Run read-only SQL

run_sql_readonly
Read-onlyIdempotent

Run a SELECT against the platform reporting replica (read-only).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "query": "<query>"
    },
    "name": "run_sql_readonly"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYesA single SELECT statement.
databaseNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is largely covered. The description adds one genuinely useful behavioral fact — queries hit a reporting replica rather than the primary, implying possibly stale data — but says nothing about row limits, query timeouts, or what happens with non-SELECT input.

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?

A single front-loaded sentence with no filler and the key constraint (read-only) stated immediately. It is efficiently written, though the brevity leaves the second parameter unexplained.

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?

For a two-parameter tool with annotations covering the safety profile and no output schema to explain, the definition is close to sufficient: purpose, target system, and the SELECT-only restriction are stated. Missing are the meaning of the `database` parameter and any hint about result volume or limits, which matter for a SQL execution 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 coverage is only 50%: `query` is documented as "A single SELECT statement," but the `database` enum (reporting|billing) has no description anywhere. The description's mention of the reporting replica partially implies a default target, but it never explains how the `database` parameter changes behavior or which is the default.

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 names a specific verb (Run) and resource (a SELECT against the platform reporting replica), which tells an agent exactly what the tool does. It also cannot be confused with the listed siblings, which are all deployment/ops tools rather than query tools, though it doesn't explicitly say so.

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?

The parenthetical "read-only" and "reporting replica" imply when this is appropriate (analytical reads, not writes or production mutations), but there is no explicit when-to-use/when-not guidance and no named alternative for non-SELECT or ops tasks. The agent must infer the boundary from the sibling list.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources