Skip to main content
Glama
oborseth

Porkbun MCP Server

by oborseth

update_dns_record

Idempotent

Update a DNS record by ID with optional field changes. Idempotent—same update applied twice is a no-op.

Instructions

Update an existing DNS record by its numeric record_id (obtained from list_dns_records). All fields except record_id and domain are optional — pass only the ones you want to change. Idempotent: applying the same update twice is a no-op.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
domainYesDomain the record belongs to, e.g. `example.com`
record_idYesNumeric record ID (as a string). Get this from `list_dns_records`.
typeNoNew record type (rarely changed).
contentNoNew record value.
nameNoNew subdomain prefix (empty string = apex).
ttlNoNew TTL in seconds.
prioNoNew priority (MX/SRV only).
Behavior4/5

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

Annotations already provide idempotentHint=true and destructiveHint=false. The description reinforces idempotency ('applying the same update twice is a no-op') and adds the partial-update behavior, which provides additional context beyond 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?

Three sentences, each serving a distinct purpose: stating the action, explaining partial updates, and noting idempotence. No superfluous words.

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?

The description lacks information about the return value (e.g., whether it returns the updated record or a success status). While the tool is simple and annotations cover safety, the absence of output schema makes this a noteworthy gap.

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 has 100% parameter description coverage. The description adds value by explicitly stating that all fields except record_id and domain are optional and that record_id comes from list_dns_records, which helps the agent understand parameter usage without repeating schema details.

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 tool updates a DNS record, specifying the record_id and its source (list_dns_records). This distinguishes it from create, delete, and other update tools among siblings.

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?

The description specifies that only the fields to change should be passed, and that the operation is idempotent. While it doesn't explicitly exclude alternatives, the context (sibling tool names) and partial-update guidance are clear enough for the agent.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/oborseth/Porkbun-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server