Skip to main content
Glama

URL Parser

dev_url_parser

Parse a URL into all its components: protocol, hostname, port, path segments, query parameters (as a clean object), hash and credentials. Exact — no guessing by eye. Use this when an agent needs to break any URL into protocol, host, path and params. x402 price $0.01/call (USDC, eip155:8453).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesURL

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations present, the description carries the full behavioral burden. It does real work by disclosing the return shape ('query parameters as a clean object') and, unusually and usefully, the cost model ('$0.01/call (USDC, eip155:8453)'), which tells an agent this is a paid endpoint it should not call casually. However, it says nothing about behavior on malformed or relative URLs, whether any network request occurs, or what happens on payment failure — meaningful gaps for a metered tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three sentences, front-loaded with the capability and the returned components, then usage, then pricing. Very little waste. The middle usage sentence is largely redundant with the opening list, which keeps it from being a clean 5.

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?

There is no output schema, and the description compensates well by enumerating the returned fields, so an agent knows what to expect back from a one-parameter tool. Pricing is disclosed, which is the main hidden cost. The remaining gap is error/failure semantics for invalid input, which for a parser is the one behavior worth stating.

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?

There is a single required parameter, and the schema technically covers it at 100%, but the schema's own description is only the word 'URL.' The description adds 'any URL' and implies full absolute URLs with credentials and ports, but gives no format guidance, no handling of relative vs. absolute forms, and no encoding expectations. With high nominal coverage the baseline of 3 applies, and the description does not clearly exceed it.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb and resource ('Parse a URL') and enumerates exactly what comes back: protocol, hostname, port, path segments, query params, hash, credentials. That is far more precise than the bare title 'URL Parser.' It stops short of naming the adjacent siblings (dev_url_reader, dev_url_encoder, live_url_metadata), so the agent must infer that this is the pure-decomposition tool rather than the fetch/encode one.

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 second sentence gives a usage condition ('when an agent needs to break any URL into protocol, host, path and params'), but it essentially restates the purpose clause rather than adding routing information. There is no when-not guidance, no exclusion of dev_url_reader or dev_url_encoder, and no note about local-only parsing versus network access, which is the key distinction an agent needs when choosing among the URL siblings.

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