Skip to main content
Glama

connect_cloudflare

Destructive

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.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false and destructiveHint=true. The description adds two things annotations cannot: a security disclosure that the API token is visible in the conversation context, and the authentication/session workflow needed to invoke the tool. It does not elaborate on what aspect is destructive, keeping it just short of a 5.

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?

Purpose is front-loaded, followed by the security warning and then the access block. Every sentence is functional; the access block is slightly long but directly actionable, so the size is justified.

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, the description covers the prerequisite account/session flow and the security implication of passing a token, which are the main invocation blockers. It stops short of mentioning post-connection state or error behavior, but nothing critical is missing.

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%, so both parameters (id, api_token) are fully documented in the schema. The description maps the token to a domain conceptually but adds no syntax, format, or permission detail beyond what the schema already states. Baseline 3 is appropriate.

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?

States a specific verb (connect), resource (Cloudflare API token), and scope (to a domain for DNS record management). The Cloudflare name distinguishes it from siblings connect_godaddy and connect_dns_provider without requiring schema inspection.

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 ACCESS block gives clear prerequisites (Proof account) and two concrete paths to satisfy them, with a pointer to start_login and the session requirement. It does not explicitly say when to prefer this over connect_godaddy/connect_dns_provider, but the provider name in the description acts as the selector.

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.