Skip to main content
Glama

cellmath

get_kv_cache_item

[PUBLIC READ] Retrieve an item from the KV Prompt Cache by key for session verification or inspection.

Input Schema

NameRequiredDescriptionDefault
keyYesUnique cache key to look up (e.g. session:default:st)
intentNoOptional intent for hit/miss metric tracking
ownerIdNoOptional owner identifier for scope checking

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/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 full behavioral burden. The '[PUBLIC READ]' tag and 'Retrieve' communicate that this is a read-only public lookup, but the description does not explain miss behavior, return shape, authorization expectations, or other operational details.

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?

The description is a single, efficient sentence with the read-only nature front-loaded in brackets. Every element, including the usage context, is relevant and there is no wasted text.

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 simple cache lookup with full schema coverage, the core purpose and context are adequately stated. However, with no output schema and no annotations, the description could better explain what is returned on a hit or miss and any important lookup constraints.

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 input schema already documents key, intent, and ownerId. The description reinforces the key-based lookup but does not add meaning for the optional intent or ownerId parameters beyond what the schema provides.

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?

The description states a specific verb and resource: retrieve an item from the KV Prompt Cache by key. It also gives a usage context (session verification or inspection). It does not explicitly distinguish itself from nearby siblings such as put_kv_cache_item, clear_kv_cache_memory, or query_kv_cache_stats, so it is clear but not fully sibling-differentiated.

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 phrase 'for session verification or inspection' implies when the tool is useful, but there is no explicit when-not guidance and no named alternative for storing, clearing, or querying cache data. Usage is inferable but not fully directed.

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