Skip to main content
Glama

create_domain_redirect

Idempotent

Redirect an entire domain to a specified URL, choosing between 301 permanent or 302 temporary redirects. Useful for domain forwarding or site migrations.

Instructions

Redirect a whole domain to a URL.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesDestination URL
typeNo301 permanent, 302 temporary
domainYesDomain name managed by the LWS account, e.g. example.fr

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior2/5

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

Annotations already declare the safety profile (readOnlyHint=false, idempotentHint=true, destructiveHint=false, openWorldHint=true). The description adds only the scoping notion of redirecting a 'whole domain,' and says nothing about the effect on existing redirects, idempotent behavior, or permission needs beyond what annotations provide.

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?

A single front-loaded sentence with zero waste that immediately conveys the operation and scope. Nothing is padded or buried.

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?

An output schema exists, so return values need no explanation, and annotations cover safety. But for a mutation tool with a 301/302 distinction, the description is thin on behavioral context (idempotency semantics, effect on pre-existing redirects). Adequate but with clear gaps.

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%, with url, domain, and the 301/302 type enum all documented in the schema itself. The description adds no syntax or format detail beyond that, so the baseline of 3 applies.

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?

It states a specific verb and resource (create a redirect for a domain) in a single clear phrase, so an agent knows exactly what the tool does. It does not, however, name or differentiate itself from the sibling delete_domain_redirect or explain the redirect scope relative to other domain tools.

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?

The description offers no when-to-use context, no prerequisites, and no mention of the sibling delete_domain_redirect as the inverse operation. An agent gets the action but no guidance on when this tool is the right choice versus alternatives.

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