Skip to main content
Glama

memory_alarma

Report errors immediately to auto-detect repeated patterns, warn after three similar ones, and boost retrieval of related failures for easier debugging.

Instructions

[alias of cuba_alarma] Report errors immediately. Auto-detects patterns (≥3 similar = warning). Hebbian: similar errors get boosted for easier retrieval.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
contextNoContext: {file, function, stack_trace, line}
projectNoProject name (default: 'default')
error_typeYesError category: TypeError, ConnectionError, etc.
allow_secretNoRefused when the text looks like a live credential (token, password, URL with embedded creds). Set true only for a false match — the text is then stored verbatim, in clear, and reachable by search, export and every client.
error_messageYesFull error message

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.25.0

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries the full behavioral burden and does disclose non-obvious traits: auto-pattern detection with a ≥3-similar warning threshold, and Hebbian boosting of similar errors for retrieval. It still omits whether the record persists, side effects, or the return shape, but it adds real behavioral context beyond the raw schema.

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 tight sentences, front-loaded with the alias and purpose, then the two behavioral notes. No filler; every clause conveys information an agent can act on.

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?

For a 5-parameter, nested-object tool with no annotations and no output schema, the description covers the distinctive behaviors but leaves open what the call returns and whether/how the error is stored. Adequate but with clear gaps given the tool's complexity.

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%, including detailed guidance on allow_secret and the context object shape, so the schema does the heavy lifting. The description adds nothing about parameter semantics, making the baseline 3 appropriate.

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?

States a specific verb and resource ('Report errors immediately') and flags that this is an alias of cuba_alarma, so an agent knows it duplicates that sibling. It does not differentiate itself from the broader error/history siblings like memory_expediente or memory_remedio, but the core purpose is unambiguous.

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 imperative 'Report errors immediately' implies the usage context (capture an error as it occurs), but there is no explicit when-to-use versus when-not, and no named alternative for related needs. Usage is only implied.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.