Skip to main content
Glama

Stash a value

stash

Use this when you want to save a small piece of text on this server and retrieve it later — hours, days, or weeks from now, from any session. Values persist for 30 days from the last write (64KB max). Retrieve with fetch_stash using the same key.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keyYesYour chosen key; pick something unique
valueYesText to store, up to 64KB

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden. It discloses persistence duration (30 days from last write), size limit (64KB), and cross-session availability. It implies overwrite-on-write by saying 'from the last write', which is valuable behavioral context beyond the schema.

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?

Two sentences with zero wasted words. The usage trigger is front-loaded, followed by persistence and size constraints, then the retrieval pointer. Every sentence earns its place.

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 two-parameter, simple write tool with no output schema and no annotations, the description covers all that an agent needs: when to use, what to provide, how long data lives, and how to get it back. Nothing essential 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 coverage is 100%, so the baseline is 3. The description repeats the size limit already in the schema and adds the phrase 'small piece of text', but doesn't meaningfully enrich the parameter meaning beyond what the schema already provides. No extra semantics for key or value.

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?

The description states the verb 'save' and the resource 'a small piece of text on this server' and explicitly names the retrieval counterpart fetch_stash. This distinguishes it clearly from siblings like attest and get_conditions, making the tool's role unambiguous.

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?

It starts with 'Use this when you want to save...' and gives concrete persistence context (30 days, 64KB). It names fetch_stash as the way to retrieve, which is the key pairing. It doesn't explicitly list exclusions, but for a simple storage tool the guidance is sufficient.

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