Skip to main content
Glama

ScorpTech x402 Tools

Url Parse

url_parse
Read-onlyIdempotent

Parse, normalize and clean URLs offline: scheme, credentials (redacted), host type, port, path segments, decoded query parameters and fragment; registrable domain / subdomain / public suffix; IDN to punycode and back; RFC 3986 normalization (case, default ports, dot segments, percent-encoding) plus optional removal of known click-tracking parameters (utm_*, gclid, fbclid, msclkid, _hsenc, mc_eid...), query sorting and fragment stripping; flags URL shorteners. Up to 50 URLs. Returns JSON with: input, valid, scheme, host, hostUnicode, hostType, port, effectivePort. Price: $0.001 USDC per successful call (x402, Base or Solana). Same tool over HTTPS: GET https://scorptech.it.com/api/x402/v1/url-parse

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "url_parse"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNo
urlsNoSeveral URLs (JSON array)
sortQueryNo
dropFragmentNo
stripTrackingNoRemove known tracking parameters from the normalized URL

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Beyond the annotations (readOnly, idempotent, non-destructive, openWorld), the description discloses the rate/scale limit (up to 50 URLs), the payment model ($0.001 USDC per successful call via x402 on Base or Solana, charged only on success), and the start of the return shape. That is exactly the kind of cost/auth context annotations cannot carry, though the 'offline' framing sits in mild tension with the fact that calls are billed over HTTPS.

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?

Capabilities are front-loaded and the pricing/transport details are placed at the end where they belong. The middle is a dense semicolon-delimited run-on and the return-field list is truncated mid-enumeration ('... effectivePort'), which is slightly awkward but not wasteful.

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 complex, multi-feature parser with no output schema, the description still conveys scale limits, cost, and a partial field list, including a 'valid' flag that hints invalid input is reported rather than thrown. The incomplete return enumeration and absent error/partial-failure behavior keep it short of full completeness.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 40%, but the description compensates for most of it: it names the URL list with the 50-item cap, explains stripTracking by listing concrete tracking parameters (utm_*, gclid, fbclid, msclkid, _hsenc, mc_eid), and covers sortQuery and dropFragment ('query sorting and fragment stripping'). Only the singular 'url' versus 'urls' precedence is left unstated.

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 opens with a specific verb and resource, 'Parse, normalize and clean URLs offline', then enumerates the concrete aspects parsed (scheme, credentials, host type, port, path, query, fragment, IDN, RFC 3986 normalization). That is precise enough to separate it from siblings like url_links_extract or url_markdown, which do different things to a URL.

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 only implied by the feature list: an agent can infer 'use this when you need decomposition or normalization of a URL already in hand'. There is no explicit when-to-use/when-not, no note on how invalid URLs are handled, and no routing to the sibling URL tools; the only alternative mentioned is the same tool over HTTPS, which is an access path rather than a behavioral alternative.

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