Skip to main content
Glama

validator_validate_url

Validate URLs by checking scheme and host validity, returning detailed results including validity status, scheme, host, path, and reason for validation outcome.

Instructions

[validator] Validate a URL. Checks that it has a valid scheme and host. Returns {valid: bool, scheme: str, host: str, path: str, reason: str}.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYes
allowed_schemesNo
Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/0-co/agent-friend'

If you have feedback or need assistance with the MCP directory API, please join our Discord server