Skip to main content
Glama

Update a DNS record

update_dns_record
DestructiveIdempotent

Replace the value, TTL or priority of one existing DNS record (record_id from list_dns_records). Overwrites the old value, so it needs confirm: true after the customer approves.

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>",
      "value": "<value>"
    },
    "name": "update_dns_record"
  }
}

Input Schema

NameRequiredDescriptionDefault
ttlNo
nameNo
portNo
valueYes
domainYesA domain on your account, e.g. mybrand.com
weightNo
confirmNoMust be true. Set it only after the customer has explicitly confirmed this exact change.
priorityNo
record_idYes

Output Schema

NameRequiredDescriptionDefault
newNo
oldNo
domainNo

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?

Annotations already declare destructiveHint=true and idempotentHint=true, so the safety profile is partly covered; the description adds the crucial operational detail that the old value is overwritten and that confirm: true may only be set after explicit customer approval of this exact change. It stops short of saying what happens if record_id does not exist or which field errors are returned.

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 tight sentences with zero filler; the scoping/what-changes statement comes first and the confirmation constraint follows. Every clause carries information the agent needs.

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?

An output schema exists and annotations cover the destructive/idempotent profile, so the description's job is mainly the mutation contract, which it handles. The remaining gap is that with 9 parameters, the agent gets no guidance on name/port/weight behavior or on the fact that value is mandatory regardless of what is being changed.

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 only 22%, so the description must compensate, and it does partially: it explains confirm gating, the record_id source, and that value/TTL/priority are the replaceable fields. It says nothing about name, port, or weight, and does not flag that value is required even when only TTL is being changed.

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 ('Replace the value, TTL or priority of one existing DNS record') and names the source of the identifier (record_id from list_dns_records). This distinguishes it cleanly from add_dns_record and delete_dns_record without needing to open 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 Guidelines4/5

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

Points the agent to list_dns_records to obtain record_id and states the approval precondition for confirm. It implies the replace-vs-create distinction via 'one existing DNS record' and 'Overwrites the old value', but does not explicitly say when to choose this over add_dns_record for a new entry.

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.