Skip to main content
Glama

Delete a subdomain

delete_subdomain
Destructive

Delete a subdomain of a domain at KENJTEC — e.g. 'shop' of shop.my-company.com. Ask the user first.

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>",
      "subdomain": "<subdomain>"
    },
    "name": "delete_subdomain"
  }
}

Input Schema

NameRequiredDescriptionDefault
domain_idYesThe domain id from list_domains.
subdomainYesThe part before the domain, e.g. shop.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=false, and readOnlyHint=false, so the danger profile is known from structured data. The description adds a human-in-the-loop confirmation requirement, which is genuine extra context, but it never states what is destroyed along with the subdomain (attached site, DNS records) or whether the action is reversible.

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 short sentences with zero filler: the identity and example come first, and the confirmation instruction is placed at the end where it acts as a final gate before invocation.

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

Completeness3/5

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

For a simple two-parameter tool with rich annotations and no output schema, the essentials are present. The remaining gap is consequence disclosure for a destructive operation — what happens to dependent resources and whether recovery is possible — which an agent deciding whether to call this would want.

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 100%, so both parameters are already documented, including that domain_id comes from list_domains and subdomain is the label before the domain. The description's example restates the schema rather than adding new semantics, so the baseline of 3 applies.

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 ('Delete a subdomain of a domain') and pins down the exact target with a concrete example ('shop' of shop.my-company.com), which separates it from sibling DNS/site deletion tools. It stops short of explicitly contrasting with the nearest alternatives (delete_dns_record, create_subdomain), but the resource is unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is one real usage instruction — 'Ask the user first' — which tells the agent a user confirmation must precede the call. However, it does not say when to remove a subdomain versus deleting the whole domain or a DNS record, so routing between sibling deletion tools is left to inference.

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