Skip to main content
Glama

snapshot_memory

Save a labeled snapshot of mapped memory in an emulation session for analysis, debugging, or state preservation. Overwrites existing snapshots with the same label.

Instructions

Save a snapshot of all mapped memory under a label.

Overwrites if the label already exists.

Args: session_id: The session ID. label: A name for this memory snapshot.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
session_idYes
labelYes
Behavior3/5

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

With no annotations, the description carries the full burden. It discloses the overwrite behavior ('Overwrites if the label already exists'), which is useful. However, it lacks details on permissions, side effects, error conditions, or what the snapshot includes beyond 'all mapped memory', leaving gaps for a mutation tool.

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 the core purpose, followed by key behavioral note and parameter explanations in a structured 'Args:' section. Every sentence adds value without redundancy, making it efficient and easy to parse.

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?

Given no annotations and no output schema, the description is moderately complete for a 2-parameter mutation tool. It covers the action and overwrite behavior but lacks details on return values, error handling, or integration with sibling tools, leaving room for improvement in context.

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 0%, so the description must compensate. It explains both parameters: 'session_id' as 'The session ID' and 'label' as 'A name for this memory snapshot', adding basic meaning. However, it doesn't specify formats, constraints, or examples, which could improve clarity for the 2 required parameters.

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 action ('Save a snapshot') and resource ('all mapped memory'), making the purpose understandable. It distinguishes from siblings like 'save_context' or 'save_trace' by specifying memory content, though it could be more explicit about what 'mapped memory' entails compared to other memory-related tools.

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

Usage Guidelines2/5

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

No guidance is provided on when to use this tool versus alternatives like 'save_context' or 'export_session'. The description mentions overwriting behavior but doesn't explain prerequisites, such as needing an active session or mapped memory, or when this is preferred over other save/export options.

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/LabGuy94/MCPEmulate'

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