Skip to main content
Glama

America/Guayaquil clock

normalize-url

Return origin, host, and path for a URL. Query and fragment are dropped.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
refNoGit ref name; discarded after the shape check
urlNoHTTPS URL to normalize or cite
cityNoCity name for a public weather hint; discarded after the call
feedNoPublic RSS or Atom URL; titles discarded
hostNoPublic hostname
jsonNoJSON text to validate; discarded after the check
pathNoFile path to check; no disk access
zoneNoIANA timezone name
queryNoSearch text; discarded after the length check

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

C2.6/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It discloses that query and fragment are dropped, but it does not explain how invalid URLs are handled, what the output structure is, or whether the tool makes network requests. More critically, the schema implies the tool accepts many other inputs (city, json, zone, etc.) that are described as 'discarded,' which contradicts the narrow URL-normalization purpose stated in the description. This inconsistency is not disclosed.

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?

The description is concise and front-loaded: the first sentence states the core action, and the second adds a key behavioral detail. There is no fluff. However, given the tool's complexity (9 parameters) and the mismatch with the schema, the brevity comes at the cost of necessary context, but for conciseness alone it is well-structured.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool has 9 parameters, no output schema, and no annotations. The description covers only the URL normalization case and completely ignores the other parameters and their intended behavior. It does not explain why those parameters exist, whether they are accepted as no-ops, or if the tool has multiple modes. This is inadequate for an agent to use the tool correctly; the description is far too sparse for the complexity.

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

Parameters2/5

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

The description adds no parameter-level meaning. The schema provides 100% coverage, but many parameter descriptions are about being discarded after a 'shape check' (e.g., ref, city, json), which is unrelated to URL normalization. The description does not indicate which parameter (presumably 'url') is the intended input, nor does it clarify whether the other parameters are optional or ignored. An agent could easily pass the wrong parameter.

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 clearly states the action: 'Return origin, host, and path for a URL.' It identifies a specific verb and resource. However, it does not differentiate from sibling URL tools like browser-url-ok or figma-url-shape, and the input schema introduces many unrelated parameters (city, json, ref, etc.), which muddies the actual scope of the tool and could confuse an agent about what it really does.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no guidance on when to use this tool versus alternatives. The sibling list contains several URL-related tools (browser-url-ok, playwright-url-ok, figma-url-shape), but the description provides no exclusions, prerequisites, or conditions for selection. The agent is left to infer the usage context, which is insufficient.

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.