Skip to main content
Glama

get_kv_namespace

Get a Workers KV namespace by ID. Returns the namespace details (ID, title, supports URL encoding).

Instructions

Get a Workers KV namespace by ID. Returns the namespace details (ID, title, supports URL encoding).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
account_idYesrequired,The ID of the Cloudflare account
namespace_idYesrequired,The ID of the KV namespace

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.3.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are provided, so the description carries the behavioral burden. It signals a read operation and discloses the return fields (ID, title, supports URL encoding), which is useful. However it says nothing about auth requirements, error behavior, or whether the ID is account-scoped, leaving gaps for a tool with zero annotation coverage.

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 short sentences, front-loaded with the core action and followed by the return shape. No filler or redundancy.

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?

With no output schema, the description helpfully enumerates the returned fields, and both required parameters are documented in the schema. It is nearly complete for a simple lookup, missing only auth/permission 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 both account_id and namespace_id are already documented in the schema. The description adds no format or constraint detail beyond what the schema provides, so the baseline 3 applies.

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?

States a specific verb and resource ('Get a Workers KV namespace by ID') and even previews the returned fields, which lets an agent distinguish it from list_kv_namespaces. It does not explicitly name the sibling or contrast scope, but the singular 'by ID' framing makes the purpose clear.

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 'by ID' phrasing implies this is for retrieving a single known namespace rather than enumerating them, but there is no explicit statement of when to use it versus list_kv_namespaces or get_kv_metadata. Usage is inferable but not spelled out.

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