Skip to main content
Glama

Tidy Byte Tools API

sql_format

Pretty-print a SQL query. This is a lightweight formatter, not a full SQL parser.

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_format"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are supplied, so the description bears the full burden. It discloses one genuine behavioral trait (limited, non-parser formatting that may not handle complex SQL), but says nothing about input expectations, whether the query is echoed back, error behavior, or size limits.

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, purpose first and the limitation second, with no filler. Every clause contributes; a slightly more explicit input hint could be added without bloat.

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 trivial tool this is close, but with an untyped body schema and no output schema, the description should state how the SQL is supplied and what comes back. Neither is covered, so an agent must infer the entire call contract.

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?

The schema declares a free-form POST body with additionalProperties and no named properties, so the agent gets no field names from the schema either. The description does not describe the request body shape at all, leaving the caller to guess how the query is passed despite zero declared parameters.

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?

"Pretty-print a SQL query" gives a specific verb plus resource, and the follow-up sentence narrows the tool's class. It does not name a sibling such as json_format or xml_json to distinguish scope explicitly, but the resource (SQL) makes the boundary obvious.

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 caveat "lightweight formatter, not a full SQL parser" implies when the tool is appropriate and warns of failure on complex dialects, which is real guidance. There is no explicit when-to-use/when-not framing or pointer to an alternative path for full parsing.

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