Skip to main content
Glama

SQL schema & query engineering pack — Atom

Sql schema query engineering pack

sql_schema_query_engineering_pack
Read-onlyIdempotent

Submits a SQL schema and query engineering record (schema design with declared table rows, index design with declared index rows, declared query rows, query practice, transactions, SQL safety, migrations, performance evidence, red lines) and returns a deterministic SQL_SCHEMA_QUERY_ENGINEERING_PACK_READY / SQL_SCHEMA_QUERY_ENGINEERING_PACK_NOT_READY / INSUFFICIENT_EVIDENCE verdict across eight sections, including computed coverage ratios over the declared rows, with per-check evidence. Audits the declared record only; it connects to no database, executes no SQL and reviews no live codebase.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "sql_schema_query_engineering_pack"
  }
}

Input Schema

NameRequiredDescriptionDefault
tablesNoDeclared table rows.
indexesNoDeclared index rows.
projectNoProject under review.
queriesNoDeclared query rows.
migrationsNoMigration evidence.
sql_safetyNoSQL safety evidence.
index_designNoIndex design evidence.
transactionsNoTransaction evidence.
schema_designNoSchema design evidence.
sql_red_linesNoRed-line evidence.
query_practiceNoQuery practice evidence.
performance_evidenceNoPerformance evidence.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world behavior. The description adds real value beyond that: three named verdict outcomes, eight audited sections, computed coverage ratios, per-check evidence, and the crucial constraint that it never touches a live database. It does not explain determinism inputs or failure modes in more depth, keeping it below 5.

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 sentences, front-loaded with the action and payload, followed by the return contract and the scope disclaimer. The long parenthetical enumeration is dense but each element maps to a real schema section; nothing is redundant.

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

Completeness3/5

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

For a 12-parameter tool with nested objects and no output schema, the description does well to name the verdict values and evidence format. However, the actual row schemas for tables, indexes, and queries are deferred to an external SERVICE.md that an agent may not have, leaving payload construction underspecified.

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% with 12 documented properties, so the schema already carries the parameter burden and a 3 is the baseline. The description's parenthetical list loosely maps to the parameters (schema design, index design, queries, transactions, safety, migrations, performance, red lines), but it adds no row-level structure or format detail and defers that entirely to an external SERVICE.md.

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 uses a specific verb ('Submits') with a clearly named resource (a SQL schema and query engineering record) and enumerates the record's sections, then states the deterministic verdict it returns. It is unambiguous about what the tool does, though there are no sibling tools to differentiate against.

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?

It gives a strong negative boundary: 'Audits the declared record only; it connects to no database, executes no SQL and reviews no live codebase,' which tells an agent not to use it for live inspection. It stops short of stating positive preconditions or naming an alternative tool for live DB review, so it earns a 4 rather than a 5.

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.