Home / Servers / Data Formats / sql_format

Sql format

An MCP tool from the Data Formats server, hosted on mcp.hjlabs.in.

Format a SQL statement for reading: keywords upper-cased, one clause per line, list items indented. Best-effort: it does not parse SQL, so unusual dialect syntax may be spaced oddly, but strings are never altered.

Name on the gateway: data__sql_format · read-only.

Parameters

NameTypeDescription
sql requiredstringThe SQL statement.

How to call it

Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:

call_tool arguments
{
  "name": "data__sql_format",
  "arguments": {
    "sql": "…"
  }
}

Or connect the Data Formats server directly, which lists 26 tools including this one:

Run in your terminal
claude mcp add --transport http hj-data https://mcp.hjlabs.in/mcp/data \
  --header "Authorization: Bearer YOUR_API_KEY"

Try asking

Use the sql format tool with sql set to ….

More from Data Formats