Skip to main content
Glama

Pitchlane

Change a domain's root redirect

update_domain_redirect
Idempotent

Set this custom domain's root HTTP(S) redirect or clear it with null. Does not change whether the domain is active.

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_id": "<domain_id>",
      "root_domain_redirect": "<root_domain_redirect>"
    },
    "name": "update_domain_redirect"
  }
}

Input Schema

NameRequiredDescriptionDefault
domain_idYesThe domain ID returned by list_domains, not the hostname.
root_domain_redirectYesAn HTTP(S) URL, or null to clear the redirect.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare this is not read-only, is idempotent, and is not destructive. The description adds useful behavioral context by explaining that null clears the redirect and that domain active status is unaffected, though it does not discuss permissions or error behavior.

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 two sentences, front-loaded with the core operation and immediately followed by an important scope constraint. There is no redundant or filler wording.

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?

For a simple two-parameter mutation tool with full schema coverage and annotations covering safety traits, the description provides everything an agent needs to call it correctly. Return values are not a concern because no output schema exists.

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 coverage is 100%, with both parameters described in the schema itself. The description reinforces that null clears the redirect, but adds little beyond what the schema already provides for domain_id or the expected URL format.

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 states a specific action and resource: setting or clearing a custom domain's root HTTP(S) redirect. It also distinguishes scope from activation by noting that it does not change whether the domain is active, helping separate it from activate/deactivate siblings.

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?

It clearly establishes the operation's scope and includes an explicit boundary: it does not change domain active status. However, it does not name a sibling alternative such as activate_domain for that separate action, so it falls short of fully explicit when-to-use/when-not 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