Skip to main content
Glama

x402-is-hostname

Is Hostname: Checks value against a hostname regex of dot-separated labels allowing letters, digits and hyphens 🆓 5 free trial calls per signed wallet

Input Schema

NameRequiredDescriptionDefault
valueNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedInput schema / properties / value / description
      Removed value: -"Value to process"
  2. Changed1 schema field changed
    • addedInput schema / properties / value
      Added value: +{
      +  "description": "Value to process",
      +  "type": "string"
      +}
  3. First observed

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It usefully discloses the validation rules and hints at a paid/signed-wallet access model, but never states the return shape (presumably a boolean) or what happens on malformed input. Partial disclosure only.

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 core purpose is front-loaded in a single tight sentence with no wasted words. The trailing emoji pricing line is mildly promotional but short and arguably relevant to an x402 paid endpoint.

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

Completeness3/5

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

For a one-parameter boolean validator with no annotations and no output schema, the description covers what is checked and the regex rules, which is most of what an agent needs. It still omits the return value and how this differs from the many other is-* validators in the catalog.

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 0% and the single parameter 'value' has no schema documentation. The description partly compensates by indicating the value is a string to be tested against a hostname pattern, but adds no format examples, length limits, or handling of empty/missing values.

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 names a specific verb and resource ("Checks value against a hostname regex") and even specifies the accepted grammar (dot-separated labels, letters/digits/hyphens), which is more than a tautology. It does not, however, differentiate itself from near-identical siblings like x402-is-domain, x402-is-url, or x402-is-slug, leaving the boundary 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 statement of when to use this tool versus x402-is-domain or x402-validate-url, nor any prerequisites or exclusion conditions. The only extra sentence concerns pricing ("5 free trial calls per signed wallet"), which is not usage guidance.

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