Skip to main content
Glama

snapshot

Generates a draft state artifact from saved memories for a given topic. Queries memories by fuzzy tag/title match, builds a snapshot, and assigns evidence tiers.

Instructions

Generate a state-shaped artifact for a topic from your saved memories.

WHEN TO USE: When you want a current-state document derived from saved conversations — architecture map, glossary, runbook, manifesto, project state. The slash command /snapshot calls this.

HOW IT WORKS:

  1. Queries memories matching the topic (fuzzy match against tags + title), recency-weighted.

  2. Builds a draft snapshot via the deterministic baseline generator (concatenates source memories — Phase 1 baseline; Gemini integration ships later).

  3. Computes evidence_tier (A/B/C, deterministic) and grounded_ratio (claim verification).

  4. Persists as status='draft'. Promotion to canonical requires explicit POST /api/v1/snapshots/{id}/accept per ADR-032.

INSERT-only — each call creates a new draft (versioned). Two snapshots of the same topic both exist; supersede via /accept.

EXAMPLES:

  • snapshot(topic: "architecture") — gathers all memories tagged or titled with "architecture"

  • snapshot(topic: "auth") — pulls everything auth-related, recency-weighted

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
topicYesThe topic to snapshot. A keyword that fuzzy-matches memory tags and titles. Examples: "architecture", "glossary", "auth", "onboarding".
Behavior5/5

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

Annotations indicate readOnlyHint=false (creating), destructiveHint=false (non-destructive draft), idempotentHint=false (each call creates new draft), and openWorldHint=true. The description adds detailed behavioral context: it is INSERT-only, creates a draft, explains the process (fuzzy match, recency-weighting, evidence tier), and mentions future integration ('Gemini integration ships later').

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 well-structured with sections (WHEN TO USE, HOW IT WORKS, EXAMPLES) and bullet points. Every sentence adds value without unnecessary verbosity.

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?

Despite no output schema, the description explains the output: a draft snapshot with evidence_tier and grounded_ratio, status='draft', and the required subsequent action (accept_snapshot). It covers the tool's behavior comprehensively.

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

Parameters5/5

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

The single parameter 'topic' has full schema coverage (100%) with description, min/max length, and examples. The description adds meaning beyond schema: it explains the parameter is used for fuzzy matching against tags and titles, and that matching is recency-weighted.

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's purpose: 'Generate a state-shaped artifact for a topic from your saved memories.' It uses a specific verb ('Generate') and resource ('artifact'), and the description differentiates it from siblings like 'get_snapshot' and 'accept_snapshot' by detailing that it creates a new draft.

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?

The 'WHEN TO USE' section explicitly lists use cases (architecture map, glossary, runbook, etc.) and mentions the slash command. While it doesn't explicitly say when not to use alternatives, the context is clear and differentiates from other snapshot-related tools.

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/purmemo-ai/purmemo-mcp'

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