Skip to main content
Glama

get_kv_pairs_bulk

Get multiple key-value pairs from a Workers KV namespace at once. The keys argument is a JSON object with a keys array. Read-only (no mutation) despite using POST.

Instructions

Get multiple key-value pairs from a Workers KV namespace at once. The keys argument is a JSON object with a keys array. Read-only (no mutation) despite using POST.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keysYesrequired,JSON object with a keys array, e.g. {"keys":["k1","k2"]}
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

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It usefully discloses that the operation is read-only despite using POST, which pre-empts a likely agent misread. However, it says nothing about auth/permission requirements, rate limits, or what happens to missing keys.

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?

Three short sentences with no filler, and the purpose is front-loaded ahead of the parameter and behavior notes. Efficient, though each sentence is doing light work.

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 3-param, no-output-schema read tool the description covers purpose, argument shape, and read-only semantics. It omits batched-operation details an agent would need — key-count limits/behavior on missing keys and return shape — which matters most for a bulk getter.

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 coverage is 100%, so the schema already documents all three parameters. The description restates the keys format ('JSON object with a keys array'), which duplicates rather than extends the schema description, 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 multiple key-value pairs from a Workers KV namespace') with a bulk scope marker ('at once') that distinguishes it from the single-key sibling get_kv_value. It doesn't name a sibling directly, but the plural/bulk framing makes the distinction inferable.

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?

Usage is implied by 'multiple ... at once' — an agent can infer this is the batched alternative to get_kv_value — but there is no explicit when-to-use, when-not-to-use, or named alternative, and no note on limits (e.g. max keys).

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