Skip to main content
Glama

Create a web redirection replacing a DNS record

domain_web_redirection_replace
Destructive

Redirect a host to an http or https URL by replacing its current DNS record; this can interrupt service on that host.

Instructions

Redirect a host to a URL, replacing the DNS record the host already has, which can interrupt the service on that host. The user confirms outside the conversation; if the result is confirmation_pending, call again with the same arguments and the returned confirmation_id once the user answered.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "domain": "<domain>",
      "host": "<host>",
      "url": "<url>"
    },
    "name": "domain_web_redirection_replace"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesTarget http or https URL.
hostYesRedirected host name, e.g. www.example.com.
typeNohttp301
domainYesDomain name, e.g. example.com (Unicode accepted).
accountNoAccount name; the default account when omitted.
protocolNohttps
confirmation_idNoIdentifier returned by a pending confirmation, once the user has answered on the page opened in their browser. Never invent one.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, openWorldHint=true and idempotentHint=false; the description adds real value by explaining the service-interruption consequence and the two-step confirmation handshake (confirmation_pending, then re-call with the same arguments plus confirmation_id). This goes beyond what the annotations convey. It does not discuss permissions, propagation delay, or what a completed response looks like, though an output schema exists.

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?

Two sentences, both load-bearing: the first front-loads the destructive replacement and its consequence, the second gives the exact confirmation recovery step. No filler or restatement of the name.

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

Completeness4/5

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

For a destructive, 7-parameter mutation with an output schema present, the definition covers the two things an agent most needs: the risk of interrupting the host and the confirmation retry protocol. It leaves gaps around prerequisites/authorization and the create-vs-replace decision boundary, but the return shape is covered by the output schema.

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 71%, so most parameters (url, host, domain, confirmation_id, account) are already documented in the schema, and the description adds no detail on type, protocol, or account. Its one contribution is procedural meaning for confirmation_id — reuse the same arguments plus the returned id — which the schema only hints at with 'Never invent one.' That is a modest increment, consistent with a baseline 3.

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 gives a specific verb and resource ('Redirect a host to a URL') and adds the distinguishing condition that it replaces the DNS record the host already has, which implicitly separates it from domain_web_redirection_create. It stops short of naming the sibling outright, so the agent must infer the create-vs-replace split.

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?

Usage context is clear: this is the variant to use when a record already exists and must be swapped, and the description warns that this can interrupt the host's service. The out-of-band confirmation workflow is spelled out as a concrete retry instruction. It lacks an explicit 'use X instead when no record exists' exclusion against the create sibling.

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

Deploy Server

Other Tools