Skip to main content
Glama

Tidy Byte Tools API

Format SQL

sql_format
Read-onlyIdempotent

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

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered without the description. The one genuinely additive behavioral fact is the capability limitation (lightweight formatter, not a full parser), which warns the agent that complex SQL may not round-trip cleanly. It does not clarify input format, dialect support, or what happens to unparseable input, leaving meaningful gaps given zero annotation burden on the description.

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

Conciseness5/5

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

Two sentences, zero filler, with the action stated first and the caveat immediately after. Nothing here is redundant with the title or annotations.

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 trivial, read-only, idempotent utility with an output schema absent by design, the definition is close to sufficient, and annotations carry the safety story. However, the undefined request body and the vague scope of "lightweight" (which SQL dialects or constructs fail?) are gaps an agent would hit on first use.

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?

Parameter count is 0, which normally sets a baseline of 4, but the input schema is an opaque free-form POST body (additionalProperties: true, no declared properties). The description never says how to supply the SQL string (raw body vs. a named key, whether multiple statements are accepted), so the agent must guess the call shape despite the nominal 100% coverage.

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: "Pretty-print a SQL query." The added clause "not a full SQL parser" bounds the scope, which implicitly separates it from the sibling json_format/yaml_json family (different input language). It stops short of naming an alternative outright, so it lands at 4 rather than 5.

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?

There is no explicit when-to-use or when-not-to-use guidance, but "This is a lightweight formatter, not a full SQL parser" implies the usage condition: reach for it only when you need cosmetic reformatting, not semantic parsing or validation. No alternative tool or escalation path is named, so guidance is implied rather than stated.

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