Skip to main content
Glama

workspaces_domains_destroy

Removes the domain from the workspace. Refused with 400 while any mailbox is configured on it: remove the mailboxes first. This does not cancel a registration.

Method: DELETE /api/v1/workspaces/{workspace_sqid}/domains/{sqid}/

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": {
      "sqid": "<sqid>"
    },
    "name": "workspaces_domains_destroy"
  }
}

Input Schema

NameRequiredDescriptionDefault
sqidYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the load and does disclose the destructive outcome, the 400 precondition, and the boundary that registration is not cancelled. It omits irreversibility, required permissions, and whether associated DNS records or settings are dropped, which matters for a delete operation.

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 front-loaded sentences plus a compact method line; the constraint and the non-cancellation caveat both appear before the endpoint detail. No filler.

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 one-parameter destructive tool with no annotations and no output schema, the definition covers the main risks an agent needs: it mutates state, it can fail with 400, and it does not cancel registration. Response shape and irreversibility remain unstated but are minor at this complexity.

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 0% for the single sqid parameter, so the description must compensate. The endpoint line implies sqid identifies the domain within a workspace path, but it never defines the sqid format or notes that workspace context comes from the path rather than the schema (which lists only sqid).

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?

States a specific verb and resource ("Removes the domain from the workspace") and immediately scopes it with "This does not cancel a registration," which separates it from registration/cancellation concerns and from siblings like workspaces_domains_partial_update or workspaces_domains_list.

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 a concrete precondition and failure mode: it is refused with 400 while any mailbox is configured, and mailboxes must be removed first. It stops short of naming the mailbox-removal tool or contrasting with partial_update, so the agent must infer the cleanup path, but the when-to-use condition is clear.

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.