Home / Servers / Data Formats / query_string_build

Query string build

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

Build a percent-encoded query string from a JSON object; arrays repeat the key, null and undefined are skipped.

Name on the gateway: data__query_string_build · read-only.

Parameters

NameTypeDescription
params requiredstringA JSON object of parameters.
array_bracketsbooleanWrite arrays as key[]=a&key[]=b. Default false.

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__query_string_build",
  "arguments": {
    "params": "…"
  }
}

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 query string build tool with params set to ….

More from Data Formats