Skip to main content
Glama

Delete a DNS record

delete_record
DestructiveIdempotent

DESTRUCTIVE: permanently remove ONE DNS record from a subdomain, keeping the name and every other record. Use this to undo a single record — a wrong IP, a spent ACME challenge — instead of delete_domain, which takes the whole name. The record_id is the 'id' field shown by get_domain (and returned by claim_domain and add_dns_record); it is not the record's name or content. The hostname stops resolving through that record immediately and there is no undo.

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": {
      "label": "<label>",
      "record_id": "<record_id>"
    },
    "name": "delete_record"
  }
}

Input Schema

NameRequiredDescriptionDefault
labelYesThe subdomain label, without the domain suffix (e.g. 'myapp' for myapp.makes.fyi).
domainNoWhich domain to act under: 'makes.fyi' (the default) or 'agentdomains.co'. The same label can exist under each, so pass this whenever you are not using the default.
api_keyNoYour AgentDomains API key (adom_…). Only needed when this MCP connection has no `Authorization: Bearer` header, for example right after calling signup.
record_idYesThe record's 'id' as reported by get_domain — not its name, type, or content.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / api_key
      Added value: +{
      +  "description": "Your AgentDomains API key (adom_…). Only needed when this MCP connection has no `Authorization: Bearer` header, for example right after calling signup.",
      +  "type": "string"
      +}
  2. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the safety profile is covered; the description still adds real behavioral context beyond them: the change takes effect immediately ('the hostname stops resolving through that record immediately') and it is irreversible ('there is no undo'). That combination of immediacy plus irreversibility is exactly what an agent needs before invoking a destructive call and is not present in the annotations.

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?

Four sentences, front-loaded with 'DESTRUCTIVE,' and each carries distinct information: scope, the alternative, the identifier trap, and the consequence. No sentence is filler.

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 four-parameter destructive tool with no output schema, the definition covers the scope, the sibling routing, the identifier semantics, and the irreversibility of the effect. Nothing an agent needs in order to call this correctly is missing.

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 100%, so the baseline is 3, but the description goes further by warning that record_id is 'the id field shown by get_domain' and explicitly not the record's name or content, and it names the siblings that return that id (claim_domain, add_dns_record). That prevents a plausible mis-invocation (passing a name or IP string), which the schema text alone does not emphasize.

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 opens with a specific verb and resource ('permanently remove ONE DNS record from a subdomain') and immediately bounds the scope ('keeping the name and every other record'), which differentiates it from delete_domain without requiring the schema to be opened.

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

Usage Guidelines5/5

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

It states the selecting condition explicitly — use this to undo a single record such as a wrong IP or a spent ACME challenge — and names the alternative it replaces ('instead of delete_domain, which takes the whole name'). An agent has both the when and the when-not.

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.