Skip to main content
Glama

set_subdomain

Destructive

Rename a project's generated address (subdomain) before the platform domain; the old address stops working. Preview first, then confirm to apply.

Instructions

Rename the project's generated address (the part before the platform domain). The old address stops working. The first call only returns a preview; call again with confirm=true once the user agrees.

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": {
      "project_id": "<project_id>",
      "subdomain": "<subdomain>"
    },
    "name": "set_subdomain"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmNo
subdomainYes
project_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior5/5

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

Goes well beyond the annotations: the destructiveHint=true flag says mutation is destructive, but only the description explains that the old address stops working and that the first invocation is a non-committal preview. That two-phase confirm mechanic is critical behavior an agent could not infer from structured fields.

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?

Three short sentences ordered by importance: what it does, the destructive consequence, then the confirmation protocol. No filler or restatement of the tool 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 rename with an output schema (so preview contents needn't be described), the description covers the irreversibility and the confirm flow. It omits validation rules for subdomain values and failure modes such as a name already taken, which would matter for correct invocation.

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 0%, so the description must carry the params, and it fully explains the confirm flag's meaning and required second call. However, it says nothing about subdomain format or validation constraints, or that project_id is the rename target, leaving half the semantics undocumented.

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?

States a specific verb and resource ("Rename the project's generated address") and clarifies the ambiguous term with "the part before the platform domain," which distinguishes it from the custom-domain siblings add_domain/remove_domain. It does not name an alternative tool explicitly, so it falls just short of a 5.

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?

Gives clear operational context: the first call is a preview only, and the second call with confirm=true happens "once the user agrees," which tells the agent both the sequencing and the human-approval gate. It still leaves open when to choose this over add_domain for a custom domain.

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