Parse Query
parse_queryParse a query string (with or without a leading "?") into an object; repeated keys become arrays.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | e.g. "a=1&b=2&b=3". |
parse_queryParse a query string (with or without a leading "?") into an object; repeated keys become arrays.
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | e.g. "a=1&b=2&b=3". |
Changes observed during successful MCP inspections.
Input schema / examplesAdded value: +[
+ {
+ "query": "a=1&b=2&b=3"
+ },
+ {
+ "query": "?q=test&sort=date&sort=relevance"
+ }
+]Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already indicate readOnly, openWorld, idempotent, non-destructive. The description adds the key behavior of repeated keys becoming arrays, which is not in annotations. No contradictions.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Single sentence, front-loaded with the core functionality and edge cases (leading '?', repeated keys). No unnecessary words.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the simple nature of the tool (1 parameter, no output schema), the description fully covers what the agent needs to know to use it correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so baseline is 3. The description does not add new meaning beyond the schema examples, though it implicitly clarifies the string format. Adequate but not enhanced.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action ('Parse') and resource ('query string'), including handling of leading '?' and repeated keys. This distinguishes it from sibling parse_url, which likely handles full URLs.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage when parsing query strings but does not explicitly state when to use this tool versus parse_url or other alternatives. No exclusions or context are provided.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.