Skip to main content
Glama
Akxan
by Akxan

Canonical host check (www, https, trailing slash)

canonical_host_check
Read-onlyIdempotent

Checks all home page URL variants (http/https, www, slash) for redirects to a single canonical address, identifying duplicate 200s that split SEO signals. Shows redirect chains and flags errors.

Instructions

Check that every way of typing the home page ends at one single address: http and https, www and bare domain, and the trailing-slash variants. When two of them both answer 200, Google sees duplicate sites and splits the ranking signals between them. This is a common silent failure on Cloudflare Pages and after a WordPress migration. Returns the full redirect chain for each variant and says which ones are wrong. No key needed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathNoPath to test, default the home page./
domainYesBare domain, e.g. 'example.com' (do not include a scheme).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.10.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, openWorldHint, idempotentHint, and destructiveHint=false, so the safety profile is covered. The description adds valuable behavioral detail beyond that: it returns the full redirect chain for each variant, identifies which variants are wrong, and states that no API key is needed.

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?

The description is front-loaded with the core purpose, then briefly explains why the check matters, gives concrete context, and states the return value and auth requirement. Every sentence earns its place and there is no redundancy with the title or schema.

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?

Despite having no output schema, the description explicitly states what is returned ('full redirect chain') and what judgment is made ('says which ones are wrong'). Combined with the fully documented schema and strong annotations, an agent has everything needed to call and interpret this tool correctly.

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 schema already documents both parameters and their formats. The description reinforces the 'home page' default and the domain scope, but it does not add meaningful semantics beyond what the schema provides, which matches the baseline for full coverage.

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?

The description names a specific verb and resource: checking that all http/https, www/bare, and trailing-slash variants converge on one canonical address. It clearly distinguishes this from sibling tools by enumerating exactly which URL variants are tested.

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?

The description gives clear context for when this tool is useful, specifically calling out Cloudflare Pages and WordPress migrations as common failure scenarios. It does not explicitly name alternatives or exclusions, but the domain of canonical-host redirect checking is unambiguous enough that an agent can infer when to invoke it.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.