Skip to main content
Glama
cachly-dev

cachly — AI Cognitive Brain

session_ping

Log your current task and files to create a session checkpoint. Enable any AI provider to reconstruct work context after interruptions.

Instructions

Lightweight checkpoint — call this every ~5 tool calls or whenever you complete a significant step. Stores the current task + files touched so session_start on the NEXT provider can reconstruct what happened even if session_end was never called (e.g. Claude context limit hit, window crashed). This solves the provider-switching problem: Claude → Copilot → Cursor all see the same last checkpoint. Extremely fast — one Redis SET, no blocking operations.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
instance_idYesUUID of the cache instance
taskYesWhat you are currently working on (e.g. "Implementing invite handler in handler/invite.go")
files_touchedNoFiles modified so far this session
next_stepNoWhat the NEXT step is after this checkpoint (helps next provider resume immediately)
providerNoCurrent AI provider (e.g. "claude-code", "copilot", "cursor", "windsurf")
Behavior4/5

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

No annotations provided, so description carries full burden. It states the tool is 'extremely fast — one Redis SET, no blocking operations', which discloses performance characteristics. Does not mention overwriting behavior or data size limits, but overall transparent about its lightweight nature.

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?

Two paragraphs: first explains usage and purpose, second adds technical details. Every sentence is meaningful, no repetition. Front-loaded with the key instruction 'call this every ~5 tool calls'.

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?

For a checkpoint tool with 5 parameters and no output schema, the description covers behavior, usage frequency, rationale, and technical implementation. It is complete enough for an agent to understand when and how to invoke it correctly.

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% and each parameter has a description. The tool description adds context beyond the schema: it explains how parameters like 'files_touched' and 'next_step' are used to reconstruct state on the next provider. This adds value beyond the schema definitions.

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 it is a 'lightweight checkpoint' that stores current task and files touched. It distinguishes itself from siblings like session_start and session_end by focusing on periodic checkpoints during a session, solving provider-switching issues.

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 instructs to call 'every ~5 tool calls or whenever you complete a significant step'. Explains the context of provider switching and why this tool is needed (e.g., Claude context limit hit, window crash). Provides clear guidance on when to use.

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/cachly-dev/cachly-mcp'

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