Save Global Architecture Pattern or Library Quirk
save_global_knowledgeRecord or update cross-project architecture patterns and library quirks in a centralized database to preserve reusable technical knowledge across projects.
Instructions
Save or update a cross-project architecture pattern or library quirk into the centralized ~/.ag-memory-mcp/global.db.
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": {
"title": "<title>",
"summary": "<summary>"
},
"name": "save_global_knowledge"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Optional ID (auto-prefixed with 'g-' if omitted) | |
| tags | No | Keyword tags | |
| title | Yes | Short descriptive title of pattern or quirk | |
| summary | Yes | Detailed context, code snippet, or workaround | |
| category | No | Category ('pattern', 'quirk', 'architecture', 'convention') | pattern |
| tech_stack | No | Tech stack identifier (e.g. 'nodejs', 'react', 'go', 'docker') | general |
| source_project | No | Optional project where this pattern was validated |