Skip to main content
Glama

Cloudflare: Create kv namespace

cloudflare_create_kv_namespace

Create a Workers KV namespace in a Cloudflare account with a unique title, enabling key-value storage for Workers applications.

Instructions

[UNIFIED] Create a Workers KV namespace (Workers KV Storage Edit permission). The title must be unique within the account.

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": {
      "site": "<site>",
      "title": "<title>"
    },
    "name": "cloudflare_create_kv_namespace"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteYes
titleYes
account_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv3.14.0

TDQS

B3.4/5.0
Behavior4/5

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

Beyond the annotations (which only declare non-read-only, non-idempotent, non-destructive), the description adds two real behavioral facts: the required Cloudflare permission and the uniqueness constraint on title, which signals a duplicate-title failure mode. It does not explain what happens on conflict or what the account scope implies.

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 compact sentences with the core action first and the constraint second. The bracketed "[UNIFIED]" tag is the only wasted token.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a mutation tool with no output schema and no parameter documentation, the definition covers permissions and the uniqueness rule but leaves the critical `site` parameter and the return value (e.g., namespace id) unexplained. Adequate but with a notable gap for an agent trying to construct the call correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across 3 parameters, so the description must carry the meaning, and it only partially does: it explains that title must be unique. The `site` parameter is never mentioned at all, and `account_id` (nullable, default null) is only vaguely implied by "within the account".

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?

The description gives a specific verb and resource ("Create a Workers KV namespace"), which clearly separates it from list/delete/get KV siblings. The "[UNIFIED]" prefix adds no semantic value but does not obscure the purpose.

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?

It states the required permission (Workers KV Storage Edit), which is a useful precondition, and the uniqueness rule implies when creation will fail. However, there is no explicit when-to-use vs. when-not guidance or pointer to alternatives such as existing namespace listing.

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

Deploy Server

Other Tools