Entity Dossier
memory-dossierAggregates knowledge-graph facts, memory mentions, and recent activity about an entity into a categorized snapshot with optional token budgets, so agents can answer 'what do we know about X?' directly.
Instructions
Aggregate everything przm Memory knows about an entity (person, project, concept) into a structured snapshot. Pulls from FOUR sources: (1) KG triples where the entity is subject — definitive facts about the entity; (2) KG triples where the entity is object — facts where others reference the entity (e.g. "Alice reports-to Matt" appears in Matt's dossier as referencedBy); (3) memory chunks mentioning the entity in content/tags/topic — preferences, decisions, context; (4) recent activity ordered by createdAt — what came up lately. Output is grouped by category (facts, preferences, decisions, corrections, recent) so the consumer doesn't have to bucket the chunks themselves. Honors an optional budgetTokens cap; greedy fill within each category when set. Used by przm's Context Budget Engine to populate "what we know about " slots without spending the entire memories budget on a search-by-relevance grab bag.
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": {
"entity": "<entity>"
},
"name": "memory-dossier"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | No | Optional domain filter (limits dossier to a single project/scope). | |
| entity | Yes | Entity name. Matches against KG subject, chunk content (substring), tags (exact), and topic (exact). Case-insensitive. | |
| budgetTokens | No | Optional token cap for the returned set. When set, each category fills greedy by importance until the per-category share is exhausted (~25% of budget per category). Without budget, returns up to maxPerCategory entries per category. | |
| maxPerCategory | No | Max entries per category when budgetTokens is omitted (default: 5). |