Skip to main content
Glama

Mailrun Agent Identity

Delete TXT record

delete_txt_record
Destructive

Delete one TXT record you added (record_id from list_txt_records); returns it with state removed. Only records you added can be deleted; anything else is not_found. txt_record_changed means the record was edited outside Mailrun and nothing was deleted. You can re-add a record with add_txt_record.

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": "<domain>",
      "record_id": "<record_id>"
    },
    "name": "delete_txt_record"
  }
}

Input Schema

NameRequiredDescriptionDefault
domainYesRoot domain as returned by list_domains.
record_idYesRecord id from list_txt_records.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare destructive=true and openWorld=true, but the description goes further: it discloses the return payload shape ('returns it with state removed') and two distinct failure modes — not_found for records the caller did not add, and txt_record_changed for a record edited outside Mailrun where nothing was deleted. That is exactly the conflict semantics an agent needs before invoking a destructive call.

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 short sentences, front-loading the action and its eligibility, then the return value and error semantics, then the recovery path. No sentence is redundant and nothing is buried.

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?

With no output schema, the description still specifies the returned object's state and enumerates the two error outcomes, and for a destructive, non-idempotent mutation it names the recovery route. Nothing material for correct invocation is missing.

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 100% and both parameters already document their sources ('Root domain as returned by list_domains', 'Record id from list_txt_records'). The description restates the record_id provenance but adds no new meaning for domain, so the baseline applies.

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 ('Delete one TXT record you added') and scopes it to a single record sourced from list_txt_records, which cleanly separates it from add_txt_record and list_txt_records. An agent knows exactly what the call does before opening the schema.

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 prerequisite (record_id comes from list_txt_records), the eligibility boundary ('only records you added can be deleted'), and the recovery alternative ('re-add a record with add_txt_record'). That is explicit when-to-use, when-not, and follow-up routing.

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