Skip to main content
Glama
hlteoh37

mcp-devutils

by hlteoh37

sql_format

Format SQL queries with proper indentation and keyword capitalization. Handles SELECT, INSERT, UPDATE, DELETE, CREATE TABLE, and JOIN statements.

Instructions

[PRO — 3 trial uses left] Format a SQL query with proper indentation and keyword capitalization. Supports SELECT, INSERT, UPDATE, DELETE, CREATE TABLE, and JOIN queries.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sqlYesSQL query to format
uppercaseNoUppercase SQL keywords (default: true)
Behavior4/5

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

With no annotations, the description carries full behavioral burden. It discloses the formatting behavior (indentation and keyword capitalization) and constrains the supported query types, providing meaningful context. It does not mention edge cases like invalid SQL handling, but for a formatter this is adequate.

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?

The core description is two short sentences, clear and front-loaded. However, the prefix '[PRO — 3 trial uses left]' is unrelated to the tool's function and adds noise, reducing conciseness. Otherwise it would be a 5.

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

Completeness4/5

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

The tool is simple (2 params, no output schema) and the description covers the supported query types and behavior. It does not explain return values or error handling, but these are reasonably inferable for a formatter. The description complete enough given the low complexity.

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%, so the schema already documents both parameters. The description adds the notion of 'keyword capitalization' which mirrors the uppercase parameter but does not add new meaning beyond the schema. Baseline 3 is appropriate as the schema does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states a specific verb ('Format') and resource ('a SQL query') with detailed behavior ('proper indentation and keyword capitalization'). It also lists supported query types, distinguishing it from sibling formatters like json_format. The purpose is unambiguous and specific.

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 description implies when to use the tool (when you need to format SQL) and which query types are supported, but it does not explicitly state when not to use it or mention alternatives. The context is clear but lacks exclusions or alternative tool references.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/hlteoh37/mcp-devutils'

If you have feedback or need assistance with the MCP directory API, please join our Discord server