people-context
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PEOPLE_CONTEXT_DB | No | Path to the SQLite database file. Overrides the --db flag; if not set, the database location is resolved from the XDG config file, an OpenClaw workspace, or the XDG data directory. | |
| PEOPLE_CONTEXT_DB_KEY | No | Encryption key for SQLCipher at-rest encryption. This key is read only from this environment variable and is only needed when the server is installed with the encrypted extra. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
people-context stores durable, local-first knowledge about the people in the user's life: their names and aliases, how they relate to the user, their organisations and roles, and relevant past interactions. When the user mentions someone by name, nickname, or partial reference, call resolve_person first to find who they mean — prefer resolving before asking the user who someone is. After resolving an identity, use get_person_context for a bounded, sensitivity-aware context bundle. After resolving a person, use get_communication_guidance when communication help is requested. Use search_people for broader browsing and remember_person to record a new or updated person. When the user states one durable thing about someone directly, call remember once: it resolves the name, creates the person only if nobody matches, and records the note, affiliation, or relationship in one audited transaction — never guessing between similar names. Use stage_candidates only for concise structured proposals — not raw source text — that are left for later user review and never committed automatically. Ordinary read tools that take a person_id also accept person (a name) in its place; find_connection and the operator-elevated tools take ids only. The full usage guide is the people-context://guide resource; people-context://self is the user's own record. Read-only tools are safe to call freely; write and destructive tools are annotated so the client can gate them behind its normal approval flow.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| resolve_personA | Resolve a name, nickname, or partial reference to candidate people. Call this first whenever the user mentions someone, before asking who they
mean. Returns ranked candidates with a score and match reason. If two or
more candidates are close, the result is flagged |
| get_person_contextA | Assemble a minimal-disclosure context bundle for one person. Pass |
| search_peopleA | Free-text search over stored people for browsing or lookup. Broader than |
| semantic_searchB | Search active people and safe interaction summaries by multilingual semantic similarity. This optional local search requires an explicit |
| remember_personA | Create a new person or update the existing one matching Use this to durably record someone the user talks about. |
| rememberA | Record one thing the user stated directly about one person, in a single call.
|
| get_communication_guidanceB | Return sensitivity-gated signal for client-composed communication advice. Pass |
| set_communication_philosophyC | Store communication philosophy verbatim while auditing lengths only. |
| list_remindersA | List pull-based reminders, due-dated first and communication notes last. Filter by |
| set_reminderC | Create a reminder for an existing person.
|
| complete_reminderB | Transition one active reminder to completed. |
| add_aliasB | Add a normalized-deduplicated alias to an existing person.
|
| remove_aliasA | Remove one alias, matched by normalized value, from an existing person. Use this to undo a wrong alias, such as an email address stored as a name. The person and all of
their other names and records stay intact. An alias that is not present returns |
| update_aliasA | Correct one alias in place, matched by normalized value; omitted fields stay unchanged. Keeps the alias's id. A |
| rename_personA | Replace a person's canonical name; the old name stays on as an alias. Use this to correct a wrong name, such as an email address stored as the name: the old name is kept
as a |
| set_relationshipC | Create a directed relationship between two existing people. |
| set_affiliationC | Create an affiliation, resolving an org id or get/creating by name. |
| record_factB | Record a time-aware fact about an existing person.
|
| record_observationC | Record a subjective observation, separate from disclosed context. |
| record_traitB | Record a derived trait with validated category and provenance.
|
| record_interactionB | Record a concise interaction summary after validating all participants. |
| correct_recordC | Correct whitelisted assertion fields in place with before/after audit. |
| supersede_factA | Close a fact that was true and open its replacement from an effective date. Use this when a stored value was historically correct and the real-world state changed;
Both rows commit together under one logical transaction, or neither commits. |
| get_relationship_graphB | Return active relationship structure around one person, capped for bounded disclosure. Pass |
| find_connectionC | Return one shortest relationship path, or a structured not-connected result. |
| create_groupA | Create one identified group: a class, cohort, team, department, club, household, or community. Every call creates a new group; an equal name is never treated as the same group. Use
|
| add_group_membershipA | Record that an existing person held a role in an existing group. Record only what was stated or confirmed. Leave dates out when they are unknown — never
guess a school year or fill a January 1 date. |
| close_group_membershipA | Record the last day a historically true membership held. Use this when someone left a group; the membership's earlier facts are preserved. It refuses
a membership that already records an end ( |
| find_groupsA | List groups whose normalized name contains Results are candidates, not identity: two groups with the same name stay distinct, so ask
the user which one is meant when several match. Sensitive and restricted groups are never
returned by this ordinary tool. Ordered by normalized name then id; |
| get_groupA | Return one group and a bounded page of its recorded memberships. These are recorded memberships only: sharing a group is context, not proof that members know
each other. Sensitive and restricted groups read as |
| list_group_membershipsA | Return a bounded page of one person's recorded group memberships with each group. Pass |
| explain_shared_connectionsA | Explain how two people are connected through groups they were both recorded in, and when. Use for shared-background, introduction, and "how do they know each other" questions. Pass
each person as an id ( Each connection is one membership of each person in the same group, cited in full. |
| get_stale_relationshipsC | Return people you have not interacted with recently, using ordinary interactions only. |
| get_person_timelineA | Return one person's recent history, newest first, as a bounded chronology. Pass Entries project durable records — interactions, observations, facts, affiliations,
relationships, and traits — with the stored timestamp each was placed by and which field
that was. Sensitive and restricted records are never returned by this ordinary tool, and a
trait names only evidence that is itself ordinary. An unknown or removed person returns
|
| get_consolidation_contextA | Return one person's stored facts, traits, observations, and affiliations and how they relate. Pass Use this before proposing maintenance.
This read never writes. Sensitive and restricted records are never returned, and a trait
names only evidence that is itself ordinary. Affiliations carry no disclosure level at all,
so this collection adds no sensitivity control and is no route to a protected fact —
background that needs one belongs in a fact. An unknown or removed person returns
|
| upcoming_datesB | Return ordinary birthdays and dated active reminders inside an inclusive upcoming window. Optionally narrow to one person by |
| merge_peopleB | Merge a duplicate person into a primary person atomically. |
| forgetC | Hard-delete a person or record and redact identifying audit history. |
| import_contentA | Extract and atomically stage header-only candidates from a supported source without bodies. Accepted A |
| stage_candidatesA | Stage agent-extracted people, interactions, records, relationships, groups, and memberships. Candidate types are A |
| review_importA | Return staged candidates and statuses for one batch. The response carries a A new-person row may carry |
| amend_candidateA | Correct one staged candidate before it is committed, returning the revised batch. The patch replaces the named fields and leaves the rest alone. Nothing is committed: confirming an amendment is not acceptance of the batch. |
| withdraw_candidatesA | Drop staged candidates from consideration, returning the revised batch. A withdrawn candidate stays listed as |
| commit_importA | Commit accepted people and resolvable interactions idempotently. The receipt is the verification: an id in |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| who | Identify one person and read what is stored. |
| remember | Record one direct statement with the `remember` tool, or stage extracted material for review. |
| meeting_prep | One short brief per attendee from stored context, guidance, and open follow-ups. |
| end_of_session_capture | Review what was learned about people and stage it for the user to review; never commit. |
| maintenance_review | Read timeline and consolidation signals, then propose corrections and wait for approval. |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| people-context-guide | Resolution-first reads, context vs. guidance, meeting prep, and propose-then-commit capture. |
| people-context-self | Narrow identity of the person marked as self: id, canonical name, aliases, summary. |
TDQS
Scored across 44 tools
Most tools are differentiated by resource and action, but several overlap noticeably: resolve_person, search_people, and semantic_search all serve identity lookup with only subtle distinctions, and remember vs record_fact vs remember_person blur the boundary for recording information. Correct_record vs supersede_fact vs amend_candidate, and the several context-reading tools, are well distinguished by their descriptions, but an agent could still misselect among the search and record families.
The dominant pattern is verb_noun (remove_alias, resolve_person, record_trait, get_person_timeline, add_group_membership), which is applied across people, groups, reminders, and imports. A few deviations exist—remember (bare verb), semantic_search (adjective_noun), upcoming_dates (noun phrase), and forget—but they remain readable and mostly predictable.
44 tools is well above the typical 3-15 range and even the 25+ heavy threshold. The domain (people, relationships, groups, reminders, imports) is broad, but the surface feels sprawling, especially with three search variants and many read slices that could be consolidated.
Coverage is strong: CRUD for people, alias lifecycle (add/update/remove/rename), facts, traits, observations, interactions, relationships, affiliations, groups, memberships, reminders, import staging/commit, merge, and forget. Minor gaps remain—no update or delete for reminders, no removal of relationships/affiliations, no group update—but these are workable with existing tools.