On Board
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| AGENT_PROJECT_DIR | Yes | Required. The project directory that owns .agent-mem/. | |
| AGENT_MEM_CONTEXT_DIRS | No | Optional. Additional directories for agents to read shared docs/specs outside the project folder. |
Capabilities
Features and capabilities supported by this server
| 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 |
|---|---|
| memory_initA | Initialize .agent-mem/ in the project root. Call once per project. Safe to re-call. |
| memory_agent_joinA | Register as an active agent. Multiple active agents may share a platform. Use ticket claims and roles to prevent work collisions. Your agent_name is stamped on EVERY write for traceability. |
| memory_onboardB | Compact session entrypoint: join, collision-check, and show current working context. |
| memory_writeB | Write a memory entry stamped with your agent_name. |
| memory_unpinA | Unpin a memory without deleting it, preserving the audit record. |
| memory_readB | Read memories with filters. Filter by agent_name to trace who wrote what. |
| memory_searchB | Search across all memories with local relevance ranking. |
| memory_search_vectorC | Optional vector-style search. Disabled by default; JSON remains canonical. |
| memory_linksA | Show ticket, file, agent, and tag relationships across memory entries. |
| memory_checkpointB | Full state checkpoint. Do every 10-15 min or before risky ops. Saves both as memory entry AND standalone file. |
| memory_handoffB | Formal handoff. ALWAYS call before leaving. Next agent sees this first. |
| memory_get_briefingA | CALL THIS FIRST. Token-aware briefing with workflow modes. Loads: hot memories (full detail) + warm digests (compressed history). Use mode='brief' for handoff-first catchup, 'normal' for default onboarding, 'deep' for broad context, or 'handoff-only' for fast task transfer. |
| memory_statusC | Quick status dashboard. |
| memory_doctorA | Check project-local On Board setup without changing files. |
| memory_update_stateC | Update shared key-value state. Stamped with agent_name. |
| memory_compactA | Compact old memories into compressed digests to save tokens. How it works:
Token savings: typically 60-80% reduction on old entries. Config via env vars:
|
| memory_token_usageA | Show token usage breakdown and recommend compaction if needed. Returns token estimates for: hot memories, digests, archive, briefing output. |
| memory_prepare_compactionA | Returns cold entries grouped by agent session — ready for YOU to summarize. Read the returned entries, write your own digest with memory_write(memory_type='context'). Digests are read ONLY by agents: write them in compressed English (token-thrift) — facts, decisions, file paths; no prose. Code/paths/IDs stay verbatim. then run memory_compact() to archive the originals. Workflow:
Returns: str: Cold entries grouped by agent, with token counts. |
| memory_search_archiveA | Search the cold archive (compacted entries). Use when you need old details that were compressed out of the hot memory. |
| memory_bootstrapA | Bootstrap .agent-mem/ for an EXISTING project by auto-scanning the codebase. Reads: README, git log, directory structure, package configs. Seeds memory with: project context, tech stack, recent history, structure, warnings. Use this instead of memory_init when joining an existing project for the first time. After bootstrap, the next agent gets full context without you manually typing everything. Returns: str: Bootstrap summary with what was discovered and seeded. |
| memory_context_dirsA | List all configured external context/info directories and their files. Context dirs are set via AGENT_MEM_CONTEXT_DIRS env var (colon-separated paths). These folders contain reference docs, specs, shared info that agents should know about but live outside the project folder. Returns: str: List of context dirs and their contents. |
| memory_context_readA | Read a file from the external context directories. Searches all configured AGENT_MEM_CONTEXT_DIRS for the filename. Use memory_context_dirs to list available files first. Returns: str: File content (truncated to max_chars). |
| memory_create_ticketA | Create a ticket requesting help from another agent. Ticket is saved as .md file in tickets/ (open queue). Assign to a specific agent/platform or leave open for anyone. Examples:
|
| memory_claim_ticketB | Claim an open ticket (sets to claimed). Call again on a claimed ticket to advance to in_progress (e.g. when spawning a subagent). |
| memory_submit_ticketA | Submit completed work on a ticket for review. Creates a submission report in tickets/review/ and moves ticket to review status. Another agent (reviewer/PM) will approve or reject. |
| memory_review_ticketA | Review a submitted ticket. Approve → closed/ or Reject → rejected/. On approve: moves ticket + submission to closed/ On reject: moves to rejected/ + creates rejection note with fix instructions. |
| memory_cancel_ticketA | Cancel a ticket. Creator, claimed agent, active main/reviewer, or any onboarded agent when creator is unavailable. |
| memory_terminate_ticketA | Forcefully terminate a ticket at any stage. Creator or active main/reviewer only. |
| memory_list_ticketsA | List tickets. Shows open/in_progress/in_review by default. Use include_closed for history. |
| memory_wait_for_eventA | Park until another agent acts, then return everything pending. The listening half of On Board. Instead of a human relaying messages, an agent blocks here until a peer creates a ticket, changes a status, or assigns work. Returns instantly if events piled up since your last call, so re-arming after a gap costs one call rather than an empty wake. One wake drains the whole queue. You never wake on your own actions. Re-arm by calling it again — the cursor is stored per agent, so you carry no bookkeeping. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| listen | Park and wait for another agent to act — the cheap re-arm loop. |
| on-board | Join the project and get compact current context — always run this first. |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/swisspra/On_Board'
If you have feedback or need assistance with the MCP directory API, please join our Discord server