Skip to main content
Glama

Url Parse

url_parse

Parse a URL into scheme/host/path/query/fragment.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

No annotations are present, so the description carries the full burden of disclosure. It honestly states the parsed output components, but it does not describe behavior on malformed URLs, normalization, ports, userinfo, or error handling. It is minimally transparent without being misleading.

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?

One short sentence with the output components front-loaded. Every word earns its place, and the description achieves clarity with no filler.

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?

For a single-parameter, side-effect-free parse operation, the description is nearly complete. The output schema exists, and the description already names the key output parts. It only lacks minor edge-case behavior, which is not critical for basic invocation.

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?

The schema has zero description coverage for the single `url` parameter, so the description must compensate. Saying 'Parse a URL' clarifies that the input is a URL string, but it adds no format details, examples, or edge-case guidance beyond what the property name already suggests.

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 is a precise imperative: 'Parse a URL into scheme/host/path/query/fragment.' It names the verb, the resource, and the observable output components, making the tool's role obvious and clearly distinct from siblings like url_decode and url_encode.

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 intended use is implied by the name and the component list, but the description does not explicitly tell an agent when to prefer this tool over related URL siblings or when not to use it. There are no exclusions or alternative routing statements.

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