Skip to main content
Glama
event4u-app

@event4u/agent-config

Official

memory_lookup

Retrieve engineering-memory entries by type and anchor path to surface prior incidents, ownership, and patterns before editing a sensitive file.

Instructions

Retrieve engineering-memory entries for one or more memory types, optionally narrowed to specific anchor paths. Use before editing a security-sensitive or historically buggy file to surface prior incidents, ownership, and patterns tied to it. WORKFLOW: call with detail:"index" FIRST — each row carries id, title and tokens_estimate (the cost of fetching it) — then fetch full bodies via memory_get ONLY for the ids you will actually use, batching multiple ids into one call. Reads agents/memory/<type>/*.yml plus the agents/memory/intake/*.jsonl signal log. Read-only. Returns the v1 retrieval envelope: a status field plus per-type slices carrying the matched entries.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keysNoOptional anchor paths or globs to match entries against (e.g. a file you are about to edit).
limitNoMaximum entries to return per type. Defaults to 5.
typesYesMemory types to scan, e.g. `historical-patterns`, `incident-learnings`, `ownership`. At least one required.
detailNo'index' returns compact priced rows (id, title, tokens_estimate) instead of full bodies — call this first, then memory_get the ids you need. 'full' (default) returns complete entries.full
token_budgetNoOptional token budget. When set, entries are rendered as one-line compact rows (id, type, confidence, `line`) and the row set is hard-cut at token_budget × 4 chars; omitted hits appear as a top-level `truncation` hint naming a concrete next step. Absent → the envelope is unchanged.
Behavior4/5

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

With no annotations, description declares read-only, data sources (specific file paths), return envelope structure, and token_budget behavior. Does not cover auth or rate limits, but covers key behavioral traits for a read tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Five sentences, no fluff, front-loaded with purpose. The workflow instruction is clear but could be more structurally separated (e.g., bullet points). Still concise and earns its place.

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?

Adequate for a tool with 5 params, no output schema, and no annotations. Describes purpose, workflow, and return shape, but lacks examples of memory types and detailed description of the slices structure. Could be more comprehensive.

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%, but the description adds meaningful workflow guidance (detail:'index' first, then memory_get), explains token_budget compaction, and suggests keys are anchor paths. This goes beyond schema descriptions.

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?

Description uses specific verbs ('Retrieve', 'Use before editing') and resource ('engineering-memory entries'), and distinguishes from sibling tool memory_get by prescribing a workflow with detail: 'index' first, then memory_get for full bodies.

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 when to use ('before editing a security-sensitive or historically buggy file'), but does not explicitly state when not to use or list alternative tools beyond memory_get. The workflow guidance is clear.

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/event4u-app/agent-config'

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