x402-is-hostname
Is Hostname: Is Hostname
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | No | Value to process |
Is Hostname: Is Hostname
| Name | Required | Description | Default |
|---|---|---|---|
| value | No | Value to process |
Changes observed during successful MCP inspections.
Input schema / properties / valueAdded value: +{
+ "description": "Value to process",
+ "type": "string"
+}Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full behavioral burden, and it discloses nothing: not the return shape (boolean vs object), not case/hyphen handling, not whether it accepts domains, FQDNs, or bare labels. This is the same void as the 'process' low example.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
It is short, but the brevity is under-specification rather than conciseness: the single phrase is a duplicated name that earns no place and is not front-loaded with any actionable content.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The tool is simple (one optional param, no nesting), which limits the damage, but with no output schema and no annotations the description should at minimum state that it returns a boolean and what counts as a hostname. It says nothing an agent can act on.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Only one optional parameter exists and schema description coverage is 100%, so the schema already documents 'value' (albeit generically as 'Value to process'). Per the high-coverage baseline, 3 is the ceiling for a description that adds no parameter meaning.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description 'Is Hostname: Is Hostname' is a pure tautology that restates the tool name twice and adds no verb, resource, or scope. An agent can only guess from the name that it checks whether a string is a hostname; the description itself conveys nothing.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
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 versus the many sibling validators (x402-is-domain, x402-is-url, x402-validate-url, x402-is-ip). Nothing is misleading, but nothing helps routing either.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.