Skip to main content
Glama
cachly-dev

Cachly — AI Cognitive Brain

brain_predict_failures

Predict top failure modes and probabilities before any deployment or infrastructure change. Get ranked risks with pre-loaded fixes based on causal knowledge and past lessons.

Instructions

Pre-deploy failure prediction with probability percentages. Given a change context (e.g. "upgrading Keycloak 21→24" or "deploying Redis 7 to prod"), returns the top likely failure modes ranked by probability, with pre-loaded fixes. Uses CKG causal edges + lesson history. Call before any significant deploy, migration, or infrastructure change.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
instance_idYesBrain instance ID
contextYesWhat you are about to do, e.g. "upgrading Keycloak 21 to 24"
top_kNoNumber of failure predictions to return (default: 5)
formatNoOutput format (default: detailed)
Behavior4/5

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

With no annotations, the description fully carries behavioral disclosure. It explains it uses 'CKG causal edges + lesson history' and returns ranked failure modes with fixes. Lacks details on error conditions or response format, but adequate for a prediction 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?

Three sentences, front-loaded with purpose, no redundant information. Every sentence earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Tool has 4 params (100% schema coverage), no output schema. Description adequately explains return value as 'top likely failure modes ranked by probability, with pre-loaded fixes.' Could be more detailed on output format, but sufficient for a prediction tool.

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 does not add additional meaning beyond what schema provides for parameters; it only repeats the 'context' example from 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 'Pre-deploy failure prediction with probability percentages' and specifies inputs (change context) and outputs (failure modes with probabilities and fixes). It differentiates from sibling 'brain_predict' by focusing on failures and deployment readiness.

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?

Explicitly states 'Call before any significant deploy, migration, or infrastructure change.' Provides clear context but does not mention when not to use or suggest alternatives among siblings.

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