Skip to main content
Glama

create_dns_record

Idempotent

Fetches the DNS verification token and creates a TXT or CNAME record via Netlify or Cloudflare for Google Search Console domain verification, skipping if already present.

Instructions

For sc-domain: properties: fetches the DNS token and creates the TXT (or CNAME) record via Netlify DNS (NETLIFY_AUTH_TOKEN) or Cloudflare (CLOUDFLARE_API_TOKEN). Skips if it already exists.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
siteYesProperty: "https://example.netlify.app/", "example.com" (URL-prefix, https assumed) or "sc-domain:example.com" (domain property).
methodNo
providerYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations cover the safety profile (writes, idempotent, open-world, non-destructive), so the description's added detail is what matters: it names the required credentials (NETLIFY_AUTH_TOKEN, CLOUDFLARE_API_TOKEN) and that the record is created in an external DNS provider. 'Skips if it already exists' usefully corroborates idempotentHint, though no failure/rollback behavior is described.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two dense sentences with the scoping constraint front-loaded and no filler; every clause carries information. The 'For sc-domain: properties:' opener is slightly awkward but does its job.

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 3-parameter external-write tool with annotations and no output schema, the description covers scope, credentials, provider selection and idempotency. What it omits — error handling and what the call returns — is minor since annotations already signal the write/idempotent profile.

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 only 33% — 'method' and 'provider' enums have no schema descriptions — and the description compensates by explaining what the method produces (TXT or CNAME record) and that provider maps to Netlify vs Cloudflare with distinct tokens. This meaningfully fills the documentation gap the schema leaves open.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb+resource ('fetches the DNS token and creates the TXT (or CNAME) record') and scopes it to sc-domain properties, which separates it from the sibling get_verification_token that only retrieves a token. It does not name any sibling explicitly, so it stops short of the top score.

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

Usage Guidelines3/5

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

'For sc-domain: properties' implies the applicable condition and 'Skips if it already exists' implies safety on re-run, but there is no explicit when-to-use/when-not guidance and no alternative tool is named for URL-prefix properties. Usage must be inferred.

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