Skip to main content
Glama

VerifyLite

Verify URL syntax

verify_url
Read-only

URL syntax validator. Takes one absolute HTTP or HTTPS URL and returns its normalized form, or a specific error code: unparseable, unsupported scheme, embedded credentials, IP literal, or local/metadata hostname. Never contacts the destination, so it is fast and side-effect free. Useful for cleaning URLs from user input, scraped pages, or LLM output before fetching them. Paid via x402; see list_prices.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesAbsolute HTTP or HTTPS URL.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

readOnlyHint=true is reinforced by 'side-effect free', and the description adds genuinely new behavioral facts: no network contact, the specific error taxonomy, and the x402 payment requirement pointing to list_prices. The payment/rate-cost disclosure is valuable context annotations cannot express. Minor ambiguity with openWorldHint=true, but not a contradiction.

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?

Four short sentences, front-loaded with the core purpose and clamped by the input constraint, then the outcome set, then behavior, then usage. No sentence is redundant or padded.

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

Completeness5/5

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

With no output schema, the description correctly describes the return value (normalized form or a named error code) and additionally covers cost model. An agent has everything needed to decide to call it, form the request, and interpret failures.

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 coverage is 100% and there is only one parameter, so the schema already carries the semantics (type, maxLength 2048, absolute HTTP/HTTPS). The description restates the same constraint without adding format or edge-case detail beyond it, so baseline 3 applies.

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?

It names a specific verb and resource ('URL syntax validator') and immediately scopes the input to 'one absolute HTTP or HTTPS URL', with an enumerated set of failure outcomes. The 'Never contacts the destination' clause implicitly separates it from the check_site_safety siblings, which do contact destinations.

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

Usage Guidelines4/5

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

It gives clear usage context ('cleaning URLs from user input, scraped pages, or LLM output before fetching them'), which tells the agent when this tool fits. It stops short of naming or excluding specific alternatives (e.g., check_site_safety), so the routing decision is implied rather than stated.

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