Skip to main content
Glama

P0: agent memory and utilities

KV list

kv_list
Read-onlyIdempotent

Use when an agent needs to see what it has stored: lists up to 100 keys (optionally under prefix) in the namespace of the paying wallet with size, stored_at and expires_at. Returns the exact paid x402 request for your input (GET /kv/list, $0.001 per call), with a link to the full schema; call that URL with an x402 or MPP client to get the data. Bad input is refused before any charge.

Input Schema

NameRequiredDescriptionDefault
limitNoKeys per page
cursorNocursor from the previous page
prefixNoOnly keys starting with this

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive/open-world, so the bar is lower, yet the description adds genuinely non-obvious behavior: the tool returns a paid x402 request document rather than the data, the agent must call the returned URL with an x402 or MPP client, cost is $0.001 per call, and bad input is refused before any charge. That two-step payment protocol is the single most important thing an agent must know and it is disclosed. It stops short of describing the response envelope or pagination behavior.

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?

Front-loaded with the trigger condition, then scope, then the payment/invocation protocol, in two dense sentences with no filler. The phrase 'Returns the exact paid x402 request for your input' is slightly awkward and could be tighter, which keeps it off a 5.

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

Completeness5/5

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

For a three-optional-parameter read tool with no output schema, the description covers the scope, the returned entry fields, the price, the validation-before-charge guarantee, and the otherwise-invisible fact that a second HTTP call is required to obtain data. Little an agent needs to invoke it correctly is missing.

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 baseline is 3. The description restates 'up to 100 keys' and 'optionally under prefix', which the schema already conveys via maximum: 100 and the prefix property; it adds nothing about cursor semantics or default limit, so it does not exceed the schema.

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?

States a specific verb and resource ('lists up to 100 keys ... optionally under prefix') and scopes it to 'the namespace of the paying wallet with size, stored_at and expires_at'. This is clearly distinguishable from siblings kv_get (single-key read) and kv_put (write) without opening their schemas.

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

Usage Guidelines4/5

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

Opens with an explicit trigger: 'Use when an agent needs to see what it has stored', which is the right condition and implicitly excludes the single-key case handled by kv_get. It gives no explicit when-not guidance or named alternative, which keeps it below a 5.

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