Skip to main content
Glama

create_dns_credential

Destructive

Store DNS provider credentials for automated domain verification. Note: credentials will be visible in the AI conversation context.

ACCESS: needs a Proof account, signed in: call start_login, show the user its challenge, then wait_for_login, then call this tool again. Authenticating this client alone does NOT open this tool.

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": {
      "provider": "<provider>",
      "credentials": "<credentials>"
    },
    "name": "create_dns_credential"
  }
}

Input Schema

NameRequiredDescriptionDefault
providerYesDNS provider identifier (e.g. cloudflare, route53, digitalocean)
credentialsYesProvider-specific credential key-value pairs

Output Schema

NameRequiredDescriptionDefault
idYesMongoDB ObjectId
nameYes
is_validYes
providerYes
created_atYes
updated_atYes
last_used_atNoWhen the credential last made a DNS change; absent until it has. Sent by the list only.
domains_countYes
validation_errorNoWhy the last check refused the credential; absent unless one did. Sent by the list only.
last_validated_atNoWhen the credential was last checked against its provider; absent when never recorded. Sent by the list only.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": {},
      +  "description": "A saved DNS provider credential. The secret is never returned.",
      +  "properties": {
      +    "created_at": {
      +      "type": "string"
      +    },
      +    "domains_count": {
      +      "maximum": 9007199254740991,
      +      "minimum": -9007199254740991,
      +      "type": "integer"
      +    },
      +    "id": {
      +      "description": "MongoDB ObjectId",
      +      "type": "string"
      +    },
      +    "is_valid": {
      +      "type": "boolean"
      +    },
      +    "last_used_at": {
      +      "description": "When the credential last made a DNS change; absent until it has. Sent by the list only.",
      +      "type": "string"
      +    },
      +    "last_validated_at": {
      +      "description": "When the credential was last checked against its provider; absent when never recorded. Sent by the list only.",
      +      "type": "string"
      +    },
      +    "name": {
      +      "type": "string"
      +    },
      +    "provider": {
      +      "type": "string"
      +    },
      +    "updated_at": {
      +      "type": "string"
      +    },
      +    "validation_error": {
      +      "description": "Why the last check refused the credential; absent unless one did. Sent by the list only.",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "id",
      +    "provider",
      +    "name",
      +    "is_valid",
      +    "domains_count",
      +    "created_at",
      +    "updated_at"
      +  ],
      +  "type": "object"
      +}
  2. Changed2 schema fields changed
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / credentials / propertyNames
      Added value: +{
      +  "type": "string"
      +}
  3. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false and destructiveHint=true, so the mutation profile is known; the description adds genuinely useful context the annotations cannot carry, namely the auth-flow requirement and the warning that credentials become visible in the AI conversation context. However it never explains the destructive side, such as whether an existing credential for the same provider is overwritten or lost, which is the key behavioral risk for a destructive write.

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?

Front-loaded with purpose, then the security caveat, then the access procedure, which is a logical order. The all-caps ACCESS block is slightly shouty but does make the procedural prerequisite scannable, and no sentence is redundant.

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?

With an output schema present, return values need not be explained, and the description covers the non-obvious parts: authentication flow and the exposure risk of the secret material. The only meaningful gap is the absence of overwrite or duplicate-credential semantics for a destructive tool.

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 100%, with both provider and credentials documented, so the schema carries the parameter burden. The description adds no meaning beyond it, such as which provider identifiers are accepted or what credential keys a given provider expects, which the nested free-form credentials object 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 and resource: store DNS provider credentials, and adds the downstream purpose (automated domain verification). It does not explicitly distinguish itself from the sibling connect_dns_provider or add_verification_provider, so an agent must infer that this one stores raw credentials rather than initiating a connection flow.

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?

Gives an explicit prerequisite sequence with named siblings: call start_login, show the user the challenge, then wait_for_login, then call this tool again. It also warns that authenticating the client alone does not unlock the tool. It stops short of stating when to prefer this over connect_dns_provider, so alternatives remain inferred.

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.