garrytan/gbrainmarkdown explorer
garrytan/gbrainmaster
docs

TOOL CATALOG

docs/TOOL_CATALOG.md

MCP tool catalog

<!-- GENERATED FILE — do not edit by hand. --> <!-- Regenerate: bun run scripts/generate-tool-catalog.ts --> <!-- Freshness-guarded by scripts/check-tool-catalog-fresh.sh (bun run verify). -->

Every non-localOnly operation on the MCP surface: 115 tools across 22 areas. Starter marks membership in the ~27-op starter surface (src/mcp/surface.ts); Gate names the config key that must be true before remote callers see/call the op (gbrain config set <key> true). What a given token actually sees is further filtered per request by scope, bound-client fence, publish gates, and the per-client surface — see docs/operations/mcp-surface-runbook.md. Area names are non-contractual groupings.

admin

ToolDescriptionScopeStarterGate
get_healthBrain health dashboard (embed coverage, stale pages, orphans).admin
get_statsBrain statistics (page count, chunk count, etc.)admin
get_status_snapshotSnapshot for gbrain status thin-client mode: sync freshness + last cycle + queue depths + worker liveness.admin
quarantine_listList quarantined (hidden) and optionally content-flagged pages by scanning page frontmatter, newest-updated first.admin
run_doctorRun brain health checks and return a structured DoctorReport (thin-client doctor surface).admin
run_onboardProbe brain health + optionally submit onboard remediations.admin
run_skilloptRun SkillOpt against a single skill.admin

advisor

ToolDescriptionScopeStarterGate
advisorRanked, read-only "what to do next" for this brain: version drift, pending migrations, schema-pack issues, stalled jobs, usage-shape gaps, and setup smells.readmcp.publish_advisor

chronicle

ToolDescriptionScopeStarterGate
chronicle_dayLife Chronicle: events + timeline entries on a given day (or its ISO week when week=true), ordered chronologically; each row backlinks to its depth page.read
chronicle_last_seenLife Chronicle: when an entity was last seen — its own timeline rows OR an event's who.read
chronicle_on_this_dayLife Chronicle: events from the same calendar day in PRIOR years ("on this day").read
chronicle_sinceLife Chronicle: events + timeline entries on or after a date, optionally filtered by event kind.read
volunteer_chronicleLife Chronicle agent-orientation: the recent timeline (last N days) + the current validity-resolved ontology for the named entities, in one zero-LLM payload, so an agent orients before acting.read

code

ToolDescriptionScopeStarterGate
code_blastBEFORE editing any function, run code_blast with the symbol name to surface every transitive caller grouped by depth (direct → 2-hop → 3-hop).read
code_calleesWhen tracing how a function flows to its dependencies (DB calls, HTTP calls, file I/O), run code_callees from the entry point.read
code_callersBEFORE editing any function, run code_callers with the symbol name to find every caller (the people who'd be affected by your change).read
code_defWhere is this symbol defined?read
code_flowWhen tracing how a request flows through the codebase from entry point to side effect (DB write, HTTP call, file I/O), run code_flow from the entry point.read
code_refsFind every reference to a symbol across the codebase (every file, every line).read

discovery

ToolDescriptionScopeStarterGate
request_toolsDiscover this brain's tool catalog and optionally unlock a wider tool surface for your client.readyes

entities

ToolDescriptionScopeStarterGate
extract_entitiesExtract entity names (people, companies) from text and create/update their brain stub pages.write
extraction_pendingList unverified auto-extracted entity stubs awaiting owner review (the quarantine lane from extract_entities).read

identity

ToolDescriptionScopeStarterGate
get_brain_identityBrain identity + counters for thin-client banner.read
whoamiIntrospect the calling identity.readyes

ingest

ToolDescriptionScopeStarterGate
get_ingest_logGet recent ingestion log entriesreadyes
log_ingestLog an ingestion eventwrite

insights

ToolDescriptionScopeStarterGate
find_anomaliesReturns statistical anomalies in recent page activity, grouped by cohort (tag or type).readyes
find_contradictionsv0.32.6 — return suspected-contradiction findings from the most recent gbrain eval suspected-contradictions probe run, optionally filtered by slug and/or severity.read
find_expertsAnswers 'who in my brain knows about <topic>'.read
find_trajectoryv0.35.4 — return the chronological claim trajectory for an entity (typed metric values over time, plus auto-detected regressions and narrative drift).read
get_calibration_profileRead the active calibration profile for a holder.read
get_recent_salienceReturns pages recently touched and ranked by emotional + activity salience (deterministic 0..1 emotional_weight + take density + recency decay).readyes
volunteer_contextPush-based context: volunteer brain pages relevant to a rolling conversation window WITHOUT being asked.read

jobs

ToolDescriptionScopeStarterGate
cancel_jobCancel a waiting, active, or delayed jobadmin
get_agent_jobPoll an agent job submitted via submit_agent.agentyes
get_jobGet job status and details by IDadmin
get_job_progressGet structured progress for a running jobadmin
get_job_statsJob queue statistics.admin
list_jobsList jobs with optional filtersadmin
pause_jobPause a waiting, active, or delayed jobadmin
replay_jobReplay a completed/failed/dead job, optionally with modified dataadmin
resume_jobResume a paused job back to waitingadmin
retry_jobRe-queue a failed or dead job for retryadmin
send_job_messageSend a sidechannel message to a running job's inboxadmin
submit_agentSubmit an LLM agent job that the worker dispatches via the gateway-native tool loop.agentyes
submit_jobSubmit a background job to the Minions queue.admin
ToolDescriptionScopeStarterGate
add_linkCreate link between pageswrite
find_orphansFind pages with no inbound wikilinks.read
get_backlinksList incoming links to a pagereadyes
get_linksList outgoing links from a pageread
list_link_sourcesList distinct link_source provenances in the brain with edge counts (e.g.readyes
remove_linkRemove link between pageswrite
traverse_graphTraverse link graph from a page.readyes

memory

ToolDescriptionScopeStarterGate
extract_factsv0.31: extract personal-knowledge facts (events, preferences, commitments, beliefs) from a conversation turn into the per-source hot memory.write
forget_factv0.32.2: forget a fact.write

memory-verbs

ToolDescriptionScopeStarterGate
context_packMEMORY VERB (v1): budget-packed session-boundary bundle for a set of standing entities — entity cards + open threads + hot facts, zero-LLM, sub-second.readyes
deltaMEMORY VERB (v1): "what changed since T" for heartbeats — pages updated after since + hot facts newer than since + open-thread events after since, zero-LLM.readyes
entityMEMORY VERB (v1): inspect ONE known person/company/project card — zero LLM calls, sub-100ms.readyes
forgetMEMORY VERB (v1): expire a remembered fact by id — the protocol delete verb.writeyes
recallMEMORY VERB (v1): retrieve saved facts/snippets — the protocol read verb.readyes
rememberMEMORY VERB (v1): save one fact to durable agent memory — the protocol write verb.writeyes
synthesize[EXPENSIVE / SLOW — makes LLM calls, seconds-to-minutes latency, costs money] MEMORY VERB (v1): answer a broad question using cross-page LLM reasoning with citations and gap analysis.readyes

ontology

ToolDescriptionScopeStarterGate
ontology_conflictsLife Chronicle: dimensions with ≥2 distinct current values from ≥2 provenances (genuine disagreement, not temporal supersession).read
ontology_dimensionsLife Chronicle meta-ontology: which dimensions the brain tracks across entities, with entity + observation counts.read
ontology_getLife Chronicle: the current resolved per-entity ontology (dimension → value) at asof (default now), with provenance + confidence + validity.read
ontology_proposeLife Chronicle: record one ontology observation (entity has dimension=value), sourced + confidence-weighted + bi-temporal.write

pages

ToolDescriptionScopeStarterGate
captureCapture a quick note into the brain — the "just remember this" write.writeyes
delete_pageSoft-delete a page.write
get_chunksGet content chunks for a pageread
get_pageRead a page by slug (supports optional fuzzy matching).readyes
get_raw_dataRetrieve raw data for a pageread
get_versionsPage version historyread
list_pagesList pages with optional filters.readyes
put_pageWrite/update a page (markdown with frontmatter).writeyes
put_raw_dataStore raw API response data for a pagewrite
resolve_slugsFuzzy-resolve a partial slug to matching page slugsreadyes
restore_pagev0.26.5 — restore a soft-deleted page (clear deleted_at).write
revert_versionRevert page to a previous versionwrite

schema

ToolDescriptionScopeStarterGate
get_active_schema_packv0.40.6.0: cheap identity packet for the active schema pack.read
list_schema_packsv0.40.6.0: list installed schema packs (bundled + user-installed).read
reload_schema_packv0.40.6.0: flush the in-process schema pack cache so the next loadActivePack re-reads from disk.admin
schema_apply_mutationsv0.40.7.0: batched schema pack mutation.admin
schema_explain_typev0.40.6.0: resolved settings for a single page_type in the active pack.read
schema_graphv0.40.6.0: schema pack graph as JSON edges.read
schema_lintv0.40.6.0: lint the active (or named) schema pack.read
schema_review_orphansv0.40.6.0: list pages with no active-pack type match.read
schema_statsv0.40.6.0: per-type page counts + typed-coverage from the DB.read
ToolDescriptionScopeStarterGate
cache_statsSemantic query-cache introspection: resolved knobs (enabled, similarity threshold, TTL) plus row counts and total hits.admin
queryHybrid search with vector + keyword + multi-query expansion.readyes
searchCheap hybrid search (vector + keyword + RRF) with no LLM expansion.readyes
search_by_imagev0.36 cross-modal Phase 2: image-as-query retrieval.read
search_modesRead-only search-mode dashboard: active mode, per-knob resolved value with attribution (mode default vs config override), and the three frozen bundles.read
search_statsSearch observability over a window: cache hit rate, intent/mode mix, budget drops, rank-1 score drift, graph-signals failure counts.admin
search_tuneRead-only tuning recommendations derived from the last 7 days of search telemetry: what should change, why, and the paste-ready config command per recommendation — relay them to the user.admin

skills

ToolDescriptionScopeStarterGate
get_skillFetch one skill's full instructions by name.readmcp.publish_skills
list_brain_skillpackList brain-resident skillpacks this brain ships (per-source).readmcp.publish_skills
list_skillsList the skills this agent's brain publishes.readmcp.publish_skills

sources

ToolDescriptionScopeStarterGate
sources_addRegister a new source.sources_admin
sources_listList registered sources with page counts and remote_url.read
sources_removeHard-remove a source (cascades pages/chunks/embeddings).sources_admin
sources_statusPer-source diagnostic.read

tags

ToolDescriptionScopeStarterGate
add_tagAdd tag to pagewrite
get_tagsList tags for a pageread
remove_tagRemove tag from pagewrite

takes

ToolDescriptionScopeStarterGate
takes_addRecord a take (typed claim) on a page: fact / take / bet / hunch, with a holder (who holds the belief: world, people/<slug>, companies/<slug>, or brain), weight 0..1, and optional source/since date.write
takes_calibrationCalibration curve: resolved correct/incorrect bets binned by stated weight; observed vs predicted per bucket.read
takes_listList takes (typed/weighted/attributed claims) filtered by holder/kind/active/etc.read
takes_resolveResolve a take: quality correct / incorrect / partial / unresolvable, with optional evidence text and measured value/unit.write
takes_scorecardCalibration scorecard for resolved bets: counts, accuracy, Brier (correct ∨ incorrect only), partial_rate.read
takes_searchKeyword search across takes (pg_trgm similarity over claim text)read
takes_supersedeSupersede a take with a replacement claim: the old row is struck through (kept for archaeology), the replacement appends at the next fence row number.write
takes_updateUpdate a take's mutable fields (weight, source, since date).write
thinkMulti-hop synthesis across pages + takes + graph.read

timeline

ToolDescriptionScopeStarterGate
add_timeline_entryAdd timeline entry to a pagewriteyes
get_timelineGet timeline entries for a page, optionally filtered by date windowread
Continue exploring589 Markdown documents in the local repository