Skip to main content
Glama

store_memory

Store key-value pairs in persistent memory. Update existing keys with new values.

Instructions

Store one or more key–value pairs in persistent memory. This method updates the existing memory store with the provided key–value pairs. If a key already exists, its value will be overwritten.

Args: input_data (Dict[str, Any]): A dictionary containing one or more key–value pairs to be stored.

Returns: Dict[str, Any]: A result dictionary indicating success and listing the stored items.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
input_dataYes
Behavior4/5

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

Without annotations, the description carries full burden. It discloses overwrite behavior for existing keys and mentions the return format (success indicator and stored items). No other behavioral traits (e.g., persistence scope, size limits) are covered, but the key behaviors are addressed.

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 front-loaded with a clear purpose, followed by structured Args/Returns sections. Every sentence adds value with no redundancy or fluff.

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

Completeness4/5

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

For a simple key-value store with one parameter and no output schema, the description covers purpose, behavior, and return format. It lacks details on error handling and persistence scope, but is mostly complete for the tool's complexity.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema has 0% description coverage for parameters. The description adds meaning by explaining input_data is a dictionary of key-value pairs and that it updates memory, which goes beyond the schema's bare 'object' type.

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 clearly states 'Store one or more key–value pairs in persistent memory', using a specific verb and resource. It distinguishes from sibling tools like retrieve_memory and forget_memory.

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 description explains overwrite behavior but does not explicitly state when to use this over alternatives like retrieve_memory or forget_memory. No usage context or exclusions are provided, making it adequate but lacking explicit guidance.

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/elcaiseri/mcp-ai-agent-server'

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