Skip to main content
Glama

working_memory_set

Store transient project-scoped key-value entries that expire automatically, ideal for debug flags and temporary task context without polluting long-term state.

Instructions

Store a transient key-value entry scoped to the current project. Expires automatically after ttl_seconds (default 86400s). Overwrites any existing entry with the same key without error. Use for debug flags, temporary task context, or values that must not pollute long-term state in update_state. Do not use for data that must survive a session restart — use update_state instead.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keyYesUnique name for this transient entry, e.g. 'debug_flag' or 'active_config'.
valueYesValue to store. Any string including JSON.
ttl_secondsNoHow long the entry lives in seconds. Omit to use the session default (86400s).
project_pathNoAbsolute path to the project root. Defaults to current working directory.
Behavior5/5

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

No annotations provided; the description fully compensates by disclosing automatic expiry with default TTL (86400s), overwrite behavior without error, and project-level scoping.

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?

Three sentences with front-loaded core action. Each sentence adds essential info: purpose+expiry, overwrite detail, usage guidance and alternative. No fluff.

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?

No output schema; description does not state what the tool returns on success. However, for a simple set operation, this is a minor gap given the solid behavior and usage coverage.

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?

Schema description coverage is 100%, baseline 3. Description adds value by explaining default TTL, overwrite behavior, and giving a key format example (e.g., 'debug_flag').

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 that the tool stores a transient key-value entry scoped to the current project, distinguishes it from update_state (persistent storage), and provides specific use cases like debug flags and temporary task context.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly tells when to use (debug flags, temporary task context) and when not to use (data that must survive session restart, recommending update_state instead). Also mentions overwrite behavior without error.

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/Fmarzochi/EGC'

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