Skip to main content
Glama
cameronsjo

MCP Server Template

by cameronsjo

cache

Store and retrieve cached data using key-value pairs with optional TTL settings to manage temporary storage in MCP Server Template applications.

Instructions

Get or set a cached value. Provide only key to get, provide key and value to set.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keyYesKey to fetch or store
valueNo
ttlSecondsNo
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It mentions the basic behavior (get or set) but lacks details on permissions, rate limits, error handling, or what happens on set (e.g., overwriting). For a mutation tool with zero annotation coverage, this is insufficient, leaving gaps in understanding its operational traits.

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 two sentences, front-loaded with the purpose and followed by usage rules. Every word earns its place with no redundancy or fluff, making it highly efficient and easy to parse.

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

Completeness2/5

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

Given the tool has 3 parameters with low schema coverage (33%), no annotations, and no output schema, the description is incomplete. It covers basic usage but misses details on 'ttlSeconds', return values, error conditions, and behavioral aspects like concurrency or persistence, which are critical for a caching tool.

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 33% (only 'key' has a description), and the description adds value by explaining that 'key' is used for both get and set operations and 'value' is needed for set. However, it doesn't cover 'ttlSeconds' at all, and with low schema coverage, the description only partially compensates, leaving one parameter undocumented.

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 clearly states the tool's purpose as 'Get or set a cached value,' which is a specific verb+resource combination. However, it doesn't distinguish this tool from its siblings (add, echo, status), which appear unrelated to caching operations, so differentiation isn't necessary but the purpose remains clear without it.

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?

The description provides explicit guidance on when to use the tool: 'Provide only key to get, provide key and value to set.' This clarifies the conditional usage based on parameters. However, it doesn't mention when not to use it or alternatives, and the sibling tools seem unrelated, so no explicit exclusions are needed.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/cameronsjo/mcp-server-template'

If you have feedback or need assistance with the MCP directory API, please join our Discord server