list-kv
Retrieve a list of keys from the Consul KV store, with an optional prefix filter to narrow results.
Instructions
List keys in the KV store
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prefix | No | Prefix to filter keys by |
Retrieve a list of keys from the Consul KV store, with an optional prefix filter to narrow results.
List keys in the KV store
| Name | Required | Description | Default |
|---|---|---|---|
| prefix | No | Prefix to filter keys by |
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description must cover behavioral traits. It only states 'List keys', implying a read operation, but lacks details on pagination, rate limits, or any side effects. Given the lack of annotations, more context about what 'list' entails (e.g., returns all keys or a subset) is needed.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is concise and front-loaded with the key action. It is one sentence with no wasted words. However, it could be slightly expanded to include the optional filtering aspect without losing conciseness.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple listing tool, the description is adequate but minimal. It does not mention the output format (e.g., returns an array of key names) or any limitations. Given the simplicity and the presence of a well-described schema parameter, it is minimally complete but could benefit from a bit more context.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema description coverage is 100% for the single parameter 'prefix', with a clear description in the schema. The tool description adds no additional meaning beyond what the schema already provides, so the score is at baseline 3.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description uses a specific verb 'list' and identifies the resource as 'keys in the KV store'. It clearly distinguishes from sibling tools like get-kv (retrieve a specific key) and delete-kv (remove keys). However, it does not specify that listing includes all keys or the optional filtering capability, leaving some ambiguity.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives. For example, it does not mention that list-kv is for enumerating keys while get-kv is for retrieving a single key's value. An AI agent would have to infer usage from the tool name alone.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/youngitn/consul-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server