Skip to main content
Glama

url_parse

Read-only

Parse an HTTP or HTTPS URL into normalized scheme, host, port, path, query, and fragment fields without fetching it.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesAbsolute HTTP or HTTPS URL, up to 4,096 characters.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=true, so safety is covered. The description adds genuinely new behavioral context: the operation is purely local ('without fetching it') despite the open-world hint, and output is 'normalized', both of which affect how an agent should interpret results.

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?

A single sentence, front-loaded with verb and resource, with no redundant or filler content. Every clause (protocol restriction, field list, no-fetch caveat) carries information.

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?

With no output schema, the description usefully enumerates the returned fields, so the agent knows what to expect. It omits error behavior (e.g., what happens with a malformed or non-HTTP URL), which is the only notable gap for a one-parameter parse tool.

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?

Only one parameter, and the schema documents it fully (absolute HTTP/HTTPS URL, 4,096 char cap) at 100% coverage. The description's field list describes the return shape rather than adding syntax or format meaning to the parameter itself, so the baseline 3 applies.

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?

States a specific verb (parse) plus the exact resource (HTTP/HTTPS URL) and enumerates the resulting fields (scheme, host, port, path, query, fragment). The 'without fetching it' clause further sharpens what the tool does versus a network call, which cleanly separates it from the unrelated utility siblings.

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?

Usage is implied by the tool's nature: use it when you have a URL string and need its components. There is no explicit when-to-use statement, no stated preconditions, and no named alternative (the siblings are unrelated utilities, so there is little to differentiate against, but the description still leaves routing to inference).

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