Skip to main content
Glama

infomaniak_dns_create_record

Destructive

Add a DNS record (A, AAAA, CNAME, MX, TXT, etc.) to an Infomaniak-managed domain. Uses a two-phase commit: first call returns a plan and token, second call with token applies the change.

Instructions

Create a DNS record on an Infomaniak-managed zone. Two-phase commit: first call returns a plan + token, second call (same params + token) actually creates the record.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
zoneYesDNS zone (root domain) to add the record to, e.g. 'broz.be'. Must be a domain whose DNS is managed by Infomaniak (check via infomaniak_get_domain).
sourceYesSubdomain part (e.g. 'www', 'mail') or '.' for the zone apex. Do NOT include the zone itself.
typeYesRecord type as enum: A, AAAA, CNAME, MX, TXT, NS, SRV, CAA, PTR. Must be UPPERCASE.
targetYesRecord value. For MX and SRV, embed the priority inline as Infomaniak does, e.g. '5 mta-gw.infomaniak.ch'.
ttlNoTime-to-live in seconds. Min 60, max 86400 (24h). Default 3600 (1h).
confirmation_tokenNoToken from the prior plan response. Required on the apply phase only.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

Annotations already set destructiveHint=true, readOnlyHint=false. The description adds the key behavioral detail of the two-phase commit process, which is not captured in annotations. It does not contradict annotations. The description could have elaborated on rate limits or authentication requirements, but the two-phase commit insight is valuable.

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?

The description is extremely concise: two sentences. The first clearly states the purpose, and the second explains the critical two-phase commit workflow. No wasted words.

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?

For a tool with 6 parameters, 100% schema coverage, and an output schema, the description is sufficient. It notes the plan+token return from the first call, which compensates for the lack of explicit return value explanation. The description could mention idempotency (annotations say false) but is otherwise complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 100% schema coverage, baseline is 3, but the description adds significant meaning: zone explains domain management check, source clarifies '.' for apex, type mandates UPPERCASE, target explains inline priority for MX/SRV, ttl provides defaults, and confirmation_token links to the plan phase. This greatly aids correct parameter usage.

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 'Create a DNS record on an Infomaniak-managed zone' and details the two-phase commit process, distinguishing it from sibling tools like infomaniak_dns_delete_record, infomaniak_dns_list_records, and infomaniak_dns_update_record.

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 explicitly explains the two-phase commit protocol: 'first call returns a plan + token, second call (same params + token) actually creates the record.' It also hints at prerequisites via the zone parameter description (check managing domain). However, it does not explicitly state when not to use the tool or list alternatives.

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/Mogacode-ma/infomaniak-mcp-agent'

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