Skip to main content
Glama

list_kv_namespaces

List Workers KV namespaces for a Cloudflare account, returning IDs and titles. Use pagination, sorting, and direction parameters to control the result set.

Instructions

List Workers KV namespaces in a Cloudflare account. Returns namespace details such as ID and title.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNoPage number of paginated results (default: 1)
orderNoOrder results by field: id or title
per_pageNoNumber of namespaces per page (default: 20, max: 100)
directionNoSort direction: asc or desc
account_idYesrequired,The ID of the Cloudflare account

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations provided, the description carries the full burden. It clearly indicates a read-only listing operation and mentions the returned namespace details. It does not disclose pagination behavior or response shape, but the verb 'List' and the return-value note provide adequate basic transparency for a simple read operation.

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, front-loaded with the action and resource, followed by a concise statement of return content. There is no redundant or filler language.

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 simple list operation with a fully documented schema, the description covers scope and return content adequately. It does not enumerate all possible returned fields or pagination mechanics, but the schema's pagination parameters and the 'such as ID and title' summary make the tool usable without further context.

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 the schema already documents all five parameters. The description adds little beyond reinforcing the account scope and the kind of returned data; it does not enrich parameter semantics beyond what the schema provides.

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 uses a specific verb and resource: 'List Workers KV namespaces in a Cloudflare account.' It also states what is returned ('namespace details such as ID and title'), making the tool's purpose unmistakable and distinct from the sibling Cloudflare tools.

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?

The description implies usage: use this tool when you need to enumerate KV namespaces for a given Cloudflare account. However, it does not explicitly contrast with alternatives or state when not to use it, so guidance is only implied rather than direct.

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