Skip to main content
Glama

MiniURL delete_domain

delete_domain
Destructive

Delete a custom domain and its linked URLs after a dry-run confirmation. Agent domain changes require human approval by default.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
confirmNoSet true only after reviewing the dry-run impact response.
domain_idYes
approval_idNo
approval_tokenNoLegacy compatibility field; normally omit it.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataNo
metaNo
errorNo
successYes
approvalNo
retryableNo
request_idYes
retry_afterNo
next_actionsNo
required_scopeNo
user_action_requiredNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / properties / data / type
      Previous value: -[
      -  "object",
      -  "array",
      -  "null"
      -]New value: +[
      +  "object",
      +  "array",
      +  "string",
      +  "number",
      +  "boolean",
      +  "null"
      +]
  2. Changed8 schema fields changed
    • addedInput schema / additionalProperties
      Added value: +false
    • addedInput schema / properties / approval_token / description
      Added value: +"Legacy compatibility field; normally omit it."
    • changedOutput schema / additionalProperties
      Previous value: -trueNew value: +false
    • addedOutput schema / properties / data / additionalProperties
      Added value: +true
    • changedOutput schema / properties / data / type
      Previous value: -[
      -  "object",
      -  "array",
      -  "string",
      -  "number",
      -  "boolean",
      -  "null"
      -]New value: +[
      +  "object",
      +  "array",
      +  "null"
      +]
    • changedOutput schema / properties / error / oneOf
      Previous value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "additionalProperties": true,
      -    "properties": {
      -      "code": {
      -        "type": "string"
      -      },
      -      "message": {
      -        "type": "string"
      -      },
      -      "required_scope": {
      -        "type": "string"
      -      },
      -      "retry_after": {
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "retryable": {
      -        "type": "boolean"
      -      },
      -      "user_action_required": {
      -        "type": "boolean"
      -      }
      -    },
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "type": "string"
      +  },
      +  {
      +    "additionalProperties": true,
      +    "properties": {
      +      "code": {
      +        "type": "string"
      +      },
      +      "message": {
      +        "type": "string"
      +      },
      +      "required_scope": {
      +        "type": "string"
      +      },
      +      "retry_after": {
      +        "minimum": 0,
      +        "type": "integer"
      +      },
      +      "retryable": {
      +        "type": "boolean"
      +      },
      +      "user_action_required": {
      +        "type": "boolean"
      +      }
      +    },
      +    "required": [
      +      "code",
      +      "message",
      +      "retryable"
      +    ],
      +    "type": "object"
      +  }
      +]
    • addedOutput schema / properties / request_id / minLength
      Added value: +8
    • changedOutput schema / required
      Previous value: -[
      -  "request_id"
      -]New value: +[
      +  "success",
      +  "request_id"
      +]
  3. Added

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the destructiveHint annotation, the description discloses a dry-run confirmation process, the cascading deletion of linked URLs, and the default human approval requirement for agent changes. These are significant behavioral traits that an agent needs to know before invoking the tool.

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 concise sentences, front-loaded with the action and key constraints. Every clause adds critical information (dry-run, linked URLs, approval) without redundancy.

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?

The description covers the core behavioral aspects (dry-run, cascading delete, approval) for a destructive tool with an output schema. It could be slightly more explicit about the two-step dry-run flow, but given the schema and annotations provide additional structure, it is sufficiently complete for agent use.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 50%, but the description compensates by explaining the dry-run confirmation (linking to 'confirm' parameter) and the approval requirement (linking to approval_id/approval_token). It adds meaning to parameters that lack schema descriptions, though domain_id remains self-explanatory.

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 clearly states the action ('Delete a custom domain and its linked URLs') and includes the dry-run confirmation step, making it distinct from sibling tools like delete_link and delete_tag. The verb+resource structure is specific and unambiguous.

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 provides clear context on when to use the tool (for deleting custom domains) and notes the human approval default for agent changes. However, it does not explicitly mention alternatives or exclusions, though the domain-specific scope naturally distinguishes it from link/tag deletion tools.

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