coherra
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
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
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| coherra_rememberA | Store a structured fact in Sibyl Memory using Coherra's schema. Wraps Args: category: Logical grouping, e.g. "people", "projects", "prefs". name: Unique-within-category key, e.g. "alice", "acme-deal". value: The fact to store — any JSON-serialisable value. confidence: Optional float 0.0–1.0 expressing certainty. source: Optional provenance tag: "conversation", "tool", "inference", etc. Returns: {"ok": True, "category": ..., "name": ...} on success. |
| coherra_recallA | Fetch a single Coherra entity by (category, name). Returns the full entity including the structured Coherra body (value, confidence, source, created_at, updated_at, version). Raises a NOT_FOUND error if the entity does not exist. Args: category: The category the entity was stored under. name: The unique-within-category key. Returns: {"ok": True, "category": ..., "name": ..., "body": {...}} |
| coherra_listA | List entities managed by Coherra, optionally filtered by category. Returns entities most-recently-updated first. Each result includes the structured Coherra body so the caller can inspect value, confidence, source, and timestamps without a separate recall call. Args: category: Optional category filter. Omit to list all categories. limit: Maximum entities to return (default 50, max 200). Returns: {"ok": True, "category": ..., "count": N, "results": [...]} |
| coherra_auditA | Run a full Coherra memory audit and return the results. Scans all entities in Sibyl Memory for three classes of drift:
Side-effects:
Returns: { "ok": True, "timestamp": "", "health_score": 0-100, "entity_count": N, "issue_count": N, "issues_found": [ {severity, category, name, detail, ...} ] } |
| coherra_repairA | Apply one repair to a flagged issue from the last audit. Actions by severity:
stale: "archive" — forget the entity
"refresh" — bump updated_at to now (fact still true)
duplicate: "merge" — keep higher-confidence entry, archive the other
contradiction: "keep_a" — keep primary (category/name), archive related
"keep_b" — keep related_entity, archive primary
"merge_manual" — archive both, write new canonical entity
at primary address using supplied Args: issue_id: 10-char hex id from coherra_audit issues_found list. action: Repair action string (see above). value: Required only for contradiction/merge_manual — the correct canonical value to write. Returns: {ok, issue_id, severity, action_taken, archived, written} |
| coherra_repair_safeA | Batch-apply all safe repairs from the last audit. Auto-applies:
Contradictions are NEVER auto-resolved — they require explicit human choice via coherra_repair with keep_a / keep_b / merge_manual. Returns: {ok, fixed_count, skipped_contradictions, results: [...]} |
| coherra_onboardA | Import JSON data from another tool into Coherra. Runs the full onboarding pipeline:
Args: import_data: A dict or list representing the JSON export. Accepts flat dicts, nested dicts, lists of dicts (with key/value fields), or lists of strings. Returns: { "ok": True, "imported": N, # records written "auto_cleaned": X, # safe issues fixed "flagged_for_review": Y, # contradictions needing manual fix } |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 7 tools
Each tool targets a distinct operation: remember, recall, list, audit, repair, batch repair, and import. The only possible confusion is between coherra_repair and coherra_repair_safe, but their descriptions clearly separate single-issue repair from batch auto-repair.
All tools share the coherra_ prefix and use snake_case with a verb-oriented style. The naming is mostly consistent, though coherra_repair_safe and coherra_onboard are slightly less parallel than simple verb_noun forms.
Seven tools is a well-scoped count for a memory management server. Each tool serves a clear purpose, covering storage, retrieval, listing, auditing, repair, batch repair, and importing without unnecessary bloat.
The set covers create, read, list, audit, repair, and import workflows, but there is no direct update or delete tool. Agents must work around this by using remember to overwrite or repair actions to archive, which is a notable gap in standard CRUD coverage.