Skip to main content
Glama

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.9/5.0
Behavior2/5

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

With no annotations provided, the description carries the full transparency burden. It discloses the output transformation (dropping query and fragment) but says nothing about side effects or network access, invalid input handling, or which parameters actually affect the result. The presence of nine irrelevant-looking optional parameters makes the lack of a behavioral clarification particularly problematic.

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?

Two concise sentences with no filler. The first sentence is front-loaded with the purpose, and the second adds a meaningful behavioral detail. It is appropriately succinct for a simple utility.

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

Completeness2/5

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

Despite a clear purpose statement, the context is incomplete because the tool has 9 optional parameters, no output schema, and no annotations. The description never instructs which parameter to populate or whether the other fields are ignored, so an agent cannot confidently invoke the tool purely from this text in the context of the sibling tools.

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?

Schema description coverage is 100%, so the baseline is 3. The description itself adds no parameter guidance; it does not say that `url` is the relevant field. The schema already describes `url` as the HTTPS URL to normalize, but the crowded list of unrelated parameters is not clarified by the description.

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 uses a concrete verb ('Return') and names an exact output set ('origin, host, and path'), plus a distinguishing behavior ('Query and fragment are dropped'). This differentiates it from URL validation/fetch siblings, but it never says that the `url` parameter is the input, and the phrase 'for a URL' leaves the input mapping slightly ambiguous.

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 call this tool instead of sibling tools such as browser-url-ok, web-fetch, or fetch-status. The description gives no 'use this when' / 'use that instead' advice, so an agent must rely entirely on the tool name to infer the appropriate context.

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.