Skip to main content
Glama

x402-sql-validate

SQL Validate: Flags SQL injection patterns and dangerous statements such as DELETE or UPDATE without WHERE 🆓 5 free trial calls per signed wallet

Input Schema

NameRequiredDescriptionDefault
sqlNo
inputNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedInput schema / properties / input / description
      Removed value: -"Input to process"
    • removedInput schema / properties / sql / description
      Removed value: -"Sql to process"
  2. First observed

TDQS

C2.9/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, but it does disclose meaningful behavior: it flags injection patterns and dangerous statements (DELETE/UPDATE without WHERE), implying static analysis rather than execution. It still omits whether the SQL is ever executed, what the response shape is, and any rate/permission behavior beyond the trial-call note.

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?

One front-loaded sentence with the detection examples placed early, so the core meaning lands immediately. The trailing emoji free-trial clause is promotional filler that does not earn its place, which keeps this from a 5.

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 a tool with no annotations, no output schema, and 0% parameter coverage, the description is too thin: it never explains the two parameters, the return format, or how to choose it over the sibling SQL tools. It conveys intent but leaves the invocation details an agent needs unaddressed.

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 coverage is 0% and the two parameters ('sql' and 'input') are never mentioned or disambiguated in the description. The overlapping names make the sql-vs-input distinction especially unclear, and the description does nothing to resolve it, leaving the agent guessing which field to populate.

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 ('SQL Validate') and goes further by naming what it detects: SQL injection patterns and dangerous statements like DELETE/UPDATE without WHERE. An agent knows exactly what class of check this is. It does not, however, distinguish itself from close siblings such as x402-sql-check or x402-ai-sql, so it stops 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 Guidelines2/5

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

There is no guidance on when to use this versus the many sibling SQL tools (x402-sql-check, x402-sql-explain, x402-sql-format), no prerequisites, and no statement of what happens after validation. The only extra clause is a pricing/trial note, which is not usage guidance.

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