Skip to main content
Glama

x402-sql-check

x402-sql-check: SQL injection + dangerous operation detection

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sqlNoSql to process
textNoText to process
queryNoQuery to process

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / text
      Added value: +{
      +  "description": "Text to process",
      +  "type": "string"
      +}
  2. First observed

TDQS

C2.6/5.0
Behavior2/5

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

With no annotations present, the description carries the full disclosure burden and mostly fails it. It never states what the check returns, what counts as a 'dangerous operation', or whether it is read-only or mutates anything, leaving critical behavioral context absent.

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

Conciseness3/5

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

It is a single compact line with no filler, which is good, but it is essentially the tool name restated with a colon and adds almost no information. Terse but not effectively front-loaded.

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 three ambiguous optional parameters, no annotations, and no output schema, the description is inadequate. It leaves the agent without the return shape, the required input, or the scope of 'dangerous operation' detection.

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?

Although schema coverage is nominally 100%, the schema descriptions are tautological ('Sql to process', 'Text to process', 'Query to process') and 0 parameters are required. The description does nothing to disambiguate which of sql/text/query the agent should supply or whether they are alternatives, so the coverage figure overstates real clarity.

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 function: detecting SQL injection and dangerous operations. That much is clear, but it offers no differentiation from close siblings like x402-sql-validate, x402-sql-explain, and x402-sql-format, so an agent cannot tell which one to pick.

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 when-to-use or when-not-to-use guidance whatsoever. Nothing says whether this analyzes a SQL string for injection risk, sanitizes it, or validates syntax, nor how to choose it over x402-sql-validate.

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