Skip to main content
Glama

Claim Cloudflare preview

claim_cloudflare_preview
Destructive

Claim or create a Cloudflare Pages or Workers project on this company's standing deploy token so the operator-agent does not need a founder dashboard click. Idempotent: existing projects are left in place (Workers scripts are never overwritten). Optional GitHub source (Pages) and hostname (CNAME). Use when an operator-agent needs a Cloudflare preview or hosting bind. First Connect is request_connector Cloudflare if get_cloudflare_hosting_status says not connected.

Routing: Claim Cloudflare Pages/Workers preview or bind hosting DNS → this tool (standing grant). Connect token → request_connector Cloudflare. Status → get_cloudflare_hosting_status. Not invoke_integration.

[write-tier — first use may require a manager's approval; a from-now-on approval makes future calls seamless, a just-once approval re-asks next time. Call it on the first clear ask; the card is the yes — do not re-ask in chat.]

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
kindNopages (default) or workers.
hostnameNoOptional DNS name to CNAME at the Pages/Workers host (must be a zone on this Cloudflare account).
companyIdYesFreedomOS company id to act within (you must be a member). Required for company-scoped tools.
github_repoNoOptional GitHub repo name to attach as Pages source.
github_ownerNoOptional GitHub org/user to attach as Pages source (requires Cloudflare GitHub app on that account).
project_nameYesCloudflare project/script slug (lowercase, numbers, hyphens).
production_branchNoGit production branch for Pages (default main).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior1/5

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

The description says 'Idempotent: existing projects are left in place (Workers scripts are never overwritten),' but the annotations set idempotentHint=false. This is a direct contradiction. It also promises non-overwrite behavior while annotations mark destructiveHint=true, making the behavioral claims unreliable.

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?

The description is longer than minimal but front-loaded with purpose and use, followed by routing and approval behavior. Every section carries operational value, and the structure supports quick scanning, though the bracket approval note adds a slightly informal tail.

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 write-tier tool with 7 parameters, it covers prerequisites, routing, idempotency (though contradicted), approval flow, and alternatives. It does not describe the output or success/failure payload, which is a gap given the absence of an output schema, but overall it is quite complete.

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 100%, so the baseline is 3. The description adds meaning by clarifying that GitHub source params apply only to Pages ('Optional GitHub source (Pages)') and that hostname is a CNAME binding. This goes beyond the schema without restating every field.

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 opens with a specific verb and resource: 'Claim or create a Cloudflare Pages or Workers project on this company's standing deploy token.' It also disambiguates from related tools in the Routing section by naming this tool, request_connector, and get_cloudflare_hosting_status as distinct destinations.

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

Usage Guidelines5/5

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

It explicitly states when to use the tool: 'Use when an operator-agent needs a Cloudflare preview or hosting bind.' It also provides alternative routing: connect token → request_connector Cloudflare, status → get_cloudflare_hosting_status, and explicitly says 'Not invoke_integration.' This is clear when/when-not guidance.

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.

Resources