Skip to main content
Glama
@event4u/agent-config

@event4u/agent-config

Official

memory_signal

Record an anchored engineering-memory signal for a specific file so future memory lookups surface the observation.

Instructions

Record an engineering-memory signal — a short, anchored observation such as a recurring bug pattern or an ownership note — to the monthly intake log agents/memory/intake/signals-YYYY-MM.jsonl. Use to capture a learning tied to a specific file so future memory_lookup calls surface it. Appends to the filesystem and is rate-limited per (type, path) within a rolling window. Returns the recorded signal.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "type": "<type>",
      "path": "<path>",
      "body": "<body>"
    },
    "name": "memory_signal"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYesFree-form signal body — the observation to record.
pathYesRepo-relative anchor path the signal is about.
typeYesMemory type the signal belongs to (e.g. historical-patterns, incident-learnings, ownership).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv1.0.2
    • changedInput schema / properties / body / description
      Previous value: -"Free-form signal body."New value: +"Free-form signal body — the observation to record."
    • changedInput schema / properties / path / description
      Previous value: -"Anchor path the signal is about."New value: +"Repo-relative anchor path the signal is about."
    • changedInput schema / properties / type / description
      Previous value: -"Memory type (historical-patterns, incident-learnings, ownership, ...)."New value: +"Memory type the signal belongs to (e.g. historical-patterns, incident-learnings, ownership)."
  2. First observedv1.0.0

TDQS

A4.4/5.0
Behavior4/5

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

Beyond the annotations, the description discloses the write target path, that it appends rather than overwrites, and that it is rate-limited per `(type, path)` within a rolling window — a real operational constraint that informs retry/backoff behavior and is consistent with idempotentHint=false. It does not quantify the window or threshold, so an agent cannot predict exactly when a write will be rejected.

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, each doing distinct work: what it records and where, why/when to call it, and how it behaves operationally. The purpose is front-loaded and no sentence is redundant.

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?

For a 3-parameter write tool with no output schema, the description covers destination, append semantics, rate limiting, and the intended connection to memory_lookup, and it tersely covers the return ('Returns the recorded signal'). The remaining gap is the unspecified rate-limit window and whether repeat signals for the same anchor are deduplicated.

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%, so the baseline is 3, but the description adds meaning the schema lacks: that `type` and `path` together form the rate-limit key, and that `path` functions as the retrieval anchor future lookups match on. That raises it above the baseline, though field-level formatting expectations for `body` ('short') remain loose.

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 names a specific verb and resource ('Record an engineering-memory signal'), gives concrete examples of what a signal is ('a recurring bug pattern or an ownership note'), and states the exact destination file pattern `agents/memory/intake/signals-YYYY-MM.jsonl`. That write-and-log framing clearly separates it from the read-oriented siblings memory_lookup and memory_get.

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?

'Use to capture a learning tied to a specific file so future memory_lookup calls surface it' states the triggering condition and the downstream payoff, and implicitly routes retrieval to memory_lookup instead. It stops short of exclusions — nothing says when to prefer chat_history_append or memory_get, or whether low-value observations should be skipped.

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