Skip to main content
Glama

connect_cloudflare

Connect a Cloudflare API token to a domain for automated DNS record management. Note: the API token will be visible in the AI conversation context.

ACCESS: needs a Proof account. Authenticate this client (Claude Code: /mcp → Authenticate), or sign in with start_login — a session opens this tool — then call this tool again.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesDomain ID
api_tokenYesCloudflare API token with DNS edit permissions

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?

No annotations are present, so the description carries full responsibility. It discloses the privacy risk (token visible in conversation), the account requirement, and the recovery workflow if unauthenticated. It doesn't mention reversibility or overwrite behavior, but covers the most important side effects for a secret-bearing connection tool.

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 sentences plus an access note, all substantive. Purpose is front-loaded, the security warning follows immediately, and no filler or redundant restating of schema fields.

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 two-parameter tool with no output schema and no annotations, the description provides the necessary authentication context, prerequisite, and security caveat. Minor gap: it doesn't state what happens if the domain already has a Cloudflare connection, but this is not critical for initial invocation.

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 covers both parameters fully (id as Domain ID, api_token with DNS edit permissions), so baseline 3 applies. The description adds a behavioral note about token visibility but no new semantic detail about either parameter.

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?

Description states 'Connect a Cloudflare API token to a domain for automated DNS record management' – a specific verb, resource, and purpose. The Cloudflare-specific wording clearly differentiates it from sibling tools like connect_dns_provider and connect_godaddy.

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 explicit prerequisites: requires a Proof account, and provides two authentication paths (Claude Code authenticate or start_login then call again). It does not explicitly name alternative tools, but the Cloudflare-specific purpose makes selection obvious.

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.