Skip to main content
Glama
danielsimonjr

Enhanced Knowledge Graph Memory Server

query_events

Retrieve chronologically ordered events by actor, target, action, flow key, and inclusive time range using indexed searches.

Instructions

Query recorded events by any combination of actor, target, action, flowKey, and inclusive time range. Results are chronologically ordered (occurredAt, falling back to createdAt). Uses relation/type indexes — never a full-graph scan.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actorNoFilter by actor entity name
limitNoMax events to return
actionNoFilter by action verb
targetNoFilter by target entity name
flowKeyNoFilter by flow key
timeRangeNoInclusive time range; either bound may be omitted
Behavior3/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 ordering and indexing performance, but does not mention pagination, default limit behavior, or side effects. Transparency is adequate but incomplete.

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?

Two sentences, front-loaded with purpose, no wasted words. Highly concise and well-structured.

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 tool has 6 parameters with nested objects and no output schema. The description omits return format, pagination, and error scenarios. With high schema coverage, it partially compensates but lacks completeness for a query 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 coverage is 100%, so baseline is 3. The description reiterates filterable fields and adds context about combining them and ordering, but does not enhance individual parameter understanding beyond schema. Slight value added.

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 the tool queries recorded events, lists specific filterable fields, and mentions chronological ordering. This is a specific verb and resource that distinguishes it from many sibling query tools.

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 (querying events with combinations of filters) but does not provide when-not-to-use or contrast with similar tools like search nodes. No explicit guidance on alternatives.

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/danielsimonjr/memory-mcp'

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