Skip to main content
Glama

working_add

Append observations or goals to a bounded, decay-scored working memory scratchpad to track facts and current objectives across sessions.

Instructions

v3.1.0 M2: Append one observation or goal to working memory (intra-session, bounded, decay-scored scratchpad in .codevira-cache/working.jsonl). 'observation' = a fact the agent saw (file edited, error message, command output). 'goal' = what the agent is currently trying to accomplish. Use working_promote to move an entry to long-term memory (decision/skill/playbook) when it earns its keep.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
kindNoobservation | goal (default: observation)observation
linksNoOptional D-ids / S-ids this entry references
contentYesFree-text markdown (max 2 KB)
confidenceNo0.0-1.0, optional. Voyager-style belief strength
importanceNo1-10 (default 5). Errors = 7, decisions = 8+
session_idNoOptional session slug; defaults to ad-hoc-XXXXXX
Behavior5/5

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

Annotations indicate readOnlyHint=false and destructiveHint=false. The description adds behavioral context: it is intra-session, bounded, decay-scored, and stored in a specific file (.codevira-cache/working.jsonl). This goes well beyond annotations.

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 concise sentences with no wasted words. It is front-loaded with the core action and then provides context and alternatives.

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?

Given the tool has 6 parameters, all documented in schema with 100% coverage, and the description adds behavioral context, it is complete. No output schema is needed as return is implied.

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 coverage is 100%, so baseline is 3. The description adds value by explaining the meaning of 'observation' and 'goal' in context, and mentions confidence and importance in terms of use cases (errors=7, decisions=8+). This enhances understanding beyond schema.

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 the tool appends one observation or goal to working memory, distinguishing between 'observation' and 'goal' with specific definitions. It also references the sibling tool 'working_promote' for long-term storage, providing differentiation.

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?

The description explicitly states when to use the tool ('append... to working memory') and provides an alternative ('Use working_promote to move an entry to long-term memory'), giving clear guidance on tool selection.

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/sachinshelke/codevira'

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