HCC
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 |
|---|---|
| store_memoryA | Store a new memory in HCC. Args: content: The memory text to store (required). user_id: Owner of the memory (e.g. "michael"). agent_id: Which agent this memory belongs to (e.g. "hanyan", "hermes", "openclaw-main"). Memories are scoped by agent_id — different agents don't see each other's memories unless explicitly queried across agents. type: Memory category, e.g. "general", "knowledge", "fact", "preference". summary: Optional short summary of the content. importance: Relevance score in [0, 1]. Defaults to 0.5. tags: Optional list of string tags. embedding: Deprecated, ignored. The server always computes its own embedding (ollama, server-side) so every memory lands in the same vector space — kept only so old callers that still pass one don't break. |
| search_memoriesA | Keyword-search memories (case-insensitive substring match on content/summary). Args: query: Substring to search for (required). user_id: Restrict to a specific user. agent_id: Restrict to a specific agent's memories. type: Restrict to a specific memory type. limit: Max number of results (1-100). Defaults to 20. |
| recallA | Three-layer memory retrieval (conscious/preconscious/subconscious). Better than plain keyword search for "what do I remember about X" — merges current-session context with database recall, ranked by relevance. Args: query: What to recall. user_id: Restrict to a specific user. agent_id: Restrict to a specific agent's memories. limit: Max number of results. Defaults to 5. |
| semantic_searchD | Semantic-similarity search over stored memories (pgvector cosine distance). Pass free-text Args:
query: Free-text query, embedded server-side. Required unless |
| hybrid_searchA | Hybrid search: BM25 full-text + vector similarity, fused with Reciprocal Rank Fusion. Best default choice for "find memories about X" — combines exact keyword
matches (BM25) with semantic similarity, so it doesn't miss relevant
memories that use different words than the query (e.g. "显卡" vs "GPU").
Passing just Args:
query: Free-text query. Drives the BM25 branch (jieba-segmented
server-side) and, unless |
| get_recent_memoriesA | Return the most recently created memories. Args: limit: Max number of results (1-100). Defaults to 20. user_id: Restrict to a specific user. agent_id: Restrict to a specific agent's memories. |
| delete_memoryA | Delete a memory by its id (permanent — use forget/apply via the REST API for reversible archiving instead if you just want it to fade, not vanish). Args: memory_id: The id of the memory to delete (required). |
| evaluateA | Ask HCC's orchestrator whether a piece of content is worth remembering, before storing it. Use this to avoid flooding long-term memory with trivial chatter — only call store_memory for content where should_store comes back true (or when you have an explicit reason to override, e.g. the user said "remember this"). Args: content: The text to evaluate. agent_id: Which agent is asking (for future per-agent tuning). user_id: Whose content this is. |
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 8 tools
Store, delete, and evaluate are clearly distinct, but there are four retrieval-oriented tools (search_memories, semantic_search, hybrid_search, recall) with overlapping purposes. The descriptions help differentiate them, but an agent could easily pick the wrong one when simply trying to find relevant memories.
Several tools follow a verb_noun pattern (store_memory, delete_memory, search_memories, get_recent_memories), but recall is a bare verb and semantic_search/hybrid_search are adjective_noun names. The mixed conventions are readable but not fully consistent.
With 8 tools, the server is well-scoped for a memory system. Each tool serves a meaningful purpose: storing, retrieving via multiple strategies, deleting, and evaluating whether content is worth remembering.
The core memory lifecycle is covered: store, retrieve, search, recall, and delete. One minor gap is the lack of an update/edit operation for existing memories, though this can be worked around by storing a new memory or deleting the old one.