Skip to main content
Glama
cachly-dev

cachly — AI Cognitive Brain

cls_install_hooks

Set up git hooks and CI steps to automatically feed your AI brain from every commit and build, eliminating the need for explicit session ending.

Instructions

Output a ready-to-install git post-commit hook + GitHub Actions step for Continuous Learning. Once installed, every git commit and CI build automatically feeds the brain — no session_end needed. Run once per repository.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
instance_idYesBrain instance ID
repo_pathNoPath to repo root (default: current dir)
hooksNoWhich hooks to output (default: ["git", "ci"])
Behavior2/5

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

No annotations are provided, so the description carries full burden. It discloses that session_end is not needed, but does not state whether the tool modifies the repository, writes files, or merely outputs to stdout. The behavioral impact is unclear.

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 sentences, front-loaded with purpose, and free of extraneous information. Every sentence adds value, making it highly concise.

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?

The description covers the main purpose and outcome but lacks details on return format or side effects. Since there is no output schema, additional context about what is output would improve completeness. Still, it provides adequate high-level understanding.

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

Parameters3/5

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

Schema description coverage is 100%, so baseline is 3. The description adds no additional meaning beyond the schema; it does not explain parameter context or usage scenarios. The schema already adequately describes each parameter.

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 it outputs a git post-commit hook and CI step for continuous learning, with specific verb 'output' and resource identification. It distinguishes its role from related tools like session_end, but does not explicitly compare with sibling tools like auto_learn_session.

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

Usage Guidelines3/5

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

The description implies usage context ('every git commit and CI build automatically feeds the brain') and says 'run once per repository', but lacks explicit guidance on when to use versus alternatives like session_end or auto_learn_session. No 'when not to use' advice.

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