MCP GOGRAB AI TOOLS

Documentation for Developers

MCP GoGrab AI — Complete Tools Reference

17 unified gateways consolidating 90+ individual tools into a single, powerful MCP server.


Quick Reference

Gateway Actions Purpose
preflight — Get context before any task (~100 tokens)
log_decision — Record a development decision
find_similar — Search past decisions by query
session 7 actions Session lifecycle management
agent 11 actions Multi-agent collaboration & handoffs
outcome 3 actions Decision outcome tracking & reinforcement learning
stats 4 actions System & tool metrics
convention 2 actions Codebase convention management
intelligence 27 actions AI reasoning, self-healing, calibration, evolution
code 4 actions Code review, test generation, validation
platform 4 actions Platform state & mutations
browser 9 actions Browser automation (Playwright)
desktop 7 actions Desktop file & command access
task 6 actions Scheduled tasks & workflows
research 2 actions Web & documentation search
computer_use 9 actions Autonomous computer control (vision loop)
skill 6 actions Modular skill registry & execution

1. preflight

Purpose: Get intelligent context (~100 tokens) before starting any task. Returns session summaries, past decisions, and warnings. Call this once at the start of every task.

Parameter Type Required Description
task string Yes Brief task description (40 chars max)
sessionNumber number No Enforce a specific session
subSessionNumber number No Sub-session (e.g., 2 for session 39.2)
lite boolean No Ultra-minimal output (~50 tokens)
preflight({ task: "refactor auth module" })
preflight({ task: "fix drag-drop", sessionNumber: 42, subSessionNumber: 2 })

2. log_decision

Purpose: Record a development decision for learning and reinforcement. Auto-assigns to the most relevant agent and auto-detects the current session.

Parameter Type Required Description
type enum Yes architecture, implementation, refactor, bugfix, fix, pattern, convention, documentation, milestone
question string Yes What decision was being made?
chosen string Yes What was chosen?
reasoning string Yes Why? (most important field)
confidence number Yes 0–1 confidence score
options string[] No Alternatives considered
files string[] No Relevant files
task string No Current task context
log_decision({
  type: "architecture",
  question: "State management for chat sessions",
  chosen: "Angular signals with computed merging",
  reasoning: "Simpler than NGXS for local UI state, avoids race conditions with autoFlashState",
  confidence: 0.9,
  options: ["NGXS store", "BehaviorSubject", "Angular signals"],
  files: ["libs/chat/chat-state.service.ts"]
})

3. find_similar

Purpose: Search past decisions by natural language query. Use after preflight when you need deeper context.

Parameter Type Required Description
query string Yes Search query
type enum No Filter by decision type
limit number No Max results (default: 3)
find_similar({ query: "CDK drag drop implementation" })
find_similar({ query: "auth token handling", type: "bugfix", limit: 5 })

4. session — Unified Session Management

Purpose: Consolidates 7 session tools into one gateway. Manages session lifecycle, validation, and platform detection.

Action Key Params Description
get_info projectId? Get current session info (platform-filtered)
set sessionNumber, subSessionNumber?, description?, globalSessionId? Enforce a specific session (cleans stale entries)
summary sessionID? Comprehensive session summary with git activity
validate workspace? Validate session state against history.json
lifecycle decisionId?, includeCompleted? Get decision lifecycle status
platform includeHistory? Current platform info (Cursor/Claude/VSCode)
pending — Decisions awaiting outcome feedback
session({ action: "get_info" })
session({ action: "set", sessionNumber: 42, subSessionNumber: 2 })
session({ action: "summary" })
session({ action: "validate", workspace: "editor2" })

5. agent — Multi-Agent Collaboration

Purpose: Consolidates 12 agent tools. Manages handoffs, messaging, RPC calls, and agent discovery.

Action Key Params Description
handoff_create toAgentType, summary, tasks[] Create a handoff to another agent
handoff_pending — Get pending handoffs for this agent
handoff_respond handoffId, responseAction Acknowledge / start / complete / reject
handoff_get handoffId Get handoff details
handoff_watch pollInterval? Poll for incoming handoffs
message toAgent, message Direct message to another agent
broadcast channel, message Broadcast to all agents on a channel
rpc targetAgent, method, params Direct RPC call (fast, less tracked)
discover task, requiredCapabilities[] Find agents capable of a task
identity — Get this agent's identity info
status — Real-time connection status

Agent types: browser, code, any

Handoff response actions: acknowledge, start, complete, reject

agent({ action: "identity" })
agent({ action: "discover", task: "UI testing", requiredCapabilities: ["canBrowse"] })
agent({ action: "handoff_create", toAgentType: "browser", summary: "Test login flow", tasks: [{ description: "Verify login" }] })
agent({ action: "rpc", targetAgent: "browser-001", method: "navigate", params: { url: "https://app.example.com" } })

6. outcome — Decision Outcome Tracking

Purpose: Consolidates 3 outcome tools. Reports results for reinforcement learning loops.

Action Key Params Description
report decisionId, wasSuccessful, feedback?, rating? Report decision outcome
track decisionId, triggerType, triggerMetadata? Track with adaptive triggers (git/build/test)
module moduleName, outcome, details?, metrics? Report module-level outcome

Module outcomes: success, partial, failed

outcome({ action: "report", decisionId: "abc123", wasSuccessful: true, feedback: "Worked perfectly" })
outcome({ action: "track", decisionId: "abc123", triggerType: "git_commit" })
outcome({ action: "module", moduleName: "user-management", outcome: "success" })

7. stats — System Statistics

Purpose: Consolidates stats tools. Tracks tool usage, git activity, and anti-patterns.

Action Description
basic Decision counts, agent training stats
enhanced Comprehensive: git activity, capture stats, anti-patterns
capture Log a stats capture event (provide type + data)
tools Tool metrics: call counts, success rates, latency
stats({ action: "basic" })
stats({ action: "enhanced" })
stats({ action: "tools" })
stats({ action: "capture", type: "user_action", data: { event: "login" } })

8. convention — Codebase Conventions

Purpose: Manage learned codebase conventions. Read existing rules or add new ones.

Action Key Params Description
get category? Get conventions (optionally filtered)
add category, rule, examples[], source? Add a new convention
convention({ action: "get" })
convention({ action: "get", category: "angular" })
convention({ action: "add", category: "testing", rule: "Use vitest over jest", examples: ["describe('...')"], source: "CLAUDE.md" })

9. intelligence — AI Super-Intelligence

Purpose: The most powerful gateway — consolidates 29 AI tools across 8 categories. Includes intelligent auto-chaining (e.g., simulate auto-recalls relevant episodes first).

Categories & Actions

Super Intelligence — Episodic memory and reasoning

Action Key Params Description
recall situation Find similar past episodes
simulate simulateAction, context, alternatives[] Simulate an action's outcomes
reflect taskSummary, outcome, lessonsLearned[] Reflect on completed task
gaps domain Identify knowledge gaps
explain event, context Explain why something happened
lessons topic?, limit? Retrieve learned lessons

Self-Healing — System health & auto-repair

Action Description
diagnose Diagnose system health issues
heal Auto-heal (healAction: auto, purge_patterns, recalibrate)
health_report Full system health report

Calibration — Confidence tuning

Action Key Params Description
calibrate rawConfidence, domain Calibrate a confidence score
calibration_curve — Get calibration accuracy curve

Evolution — Agent growth tracking

Action Key Params Description
evolution agentId? View agent evolution over time
predict_best taskType, taskDescription Predict best agent for a task

Code DNA — Codebase fingerprinting

Action Key Params Description
analyze_dna projectPath Analyze codebase patterns
enforce_dna code Enforce DNA patterns on code
violations — Get current DNA violations

Time Machine — Decision archaeology

Action Key Params Description
trace sessionNumber?, startDate?, endDate? Trace decision chain
pivots — Find pivotal decisions
simulate_alt decisionId, alternativeChoice "What if" on a past decision
loops — Detect repeated decision loops

Collective Intelligence — Multi-user learning

Action Key Params Description
join consentLevel Join collective (full, partial, receive-only)
share pattern, description, successRate Share a pattern
query keywords, minSuccessRate? Query collective knowledge
collective_stats — Collective participation stats

Utility

Action Description
specializations List agent specializations across domains
complexity Assess task complexity
recalibrate Force recalibration of the system
intelligence({ action: "recall", situation: "module integration issue" })
intelligence({ action: "simulate", simulateAction: "refactor auth", context: "need JWT", chain: true })
intelligence({ action: "diagnose" })
intelligence({ action: "calibrate", rawConfidence: 0.8, domain: "angular" })
intelligence({ action: "trace", sessionNumber: 42 })
intelligence({ action: "predict_best", taskType: "refactor", taskDescription: "Migrate state to signals" })

10. code — Code Operations

Purpose: AI-powered code review, test generation, validation, and requirements analysis.

Action Key Params Description
review target, reviewType Code review (quick, full, security, performance)
test_gen target, testType, framework? Generate tests (unit, integration, e2e)
validate modulePath, strictMode? Validate module structure
analyze description, features[] Analyze requirements → module specs
code({ action: "review", target: "src/app/component.ts", reviewType: "security" })
code({ action: "test_gen", target: "src/app/service.ts", testType: "unit", framework: "vitest" })
code({ action: "validate", modulePath: "libs/core/utilities", strictMode: true })
code({ action: "analyze", description: "User management module", features: ["CRUD", "roles", "permissions"] })

11. platform — Platform Operations

Purpose: Query and mutate the Space Builder platform state.

Action Key Params Description
describe — Current platform state & capabilities
query query, filters? Query data (modules, users, configs)
mutate operation, entity, data Create / update / delete entities
automate workflow, steps? Execute automated workflows

Operations: create, update, delete

platform({ action: "describe" })
platform({ action: "query", query: "active modules" })
platform({ action: "mutate", operation: "create", entity: "module", data: { name: "user-mgmt" } })
platform({ action: "automate", workflow: "deploy_module" })

12. browser — Browser Automation

Purpose: Consolidates 9 browser tools. Full Playwright-powered browser control.

Action Key Params Description
navigate url, waitUntil? Go to a URL
click selector, button?, clickCount? Click an element
fill selector, value Fill input/textarea
screenshot fullPage?, path? Take screenshot
extract selector, multiple? Extract text/data
execute script Run JavaScript in page
wait selector, state, timeout? Wait for element state (visible, hidden, attached, detached)
status — Session status
close — Close browser session
browser({ action: "navigate", url: "https://example.com" })
browser({ action: "click", selector: "#login-button" })
browser({ action: "fill", selector: "#email", value: "[email protected]" })
browser({ action: "screenshot", fullPage: true })
browser({ action: "extract", selector: ".article-content" })

13. desktop — Desktop Connectivity

Purpose: Consolidates 7 desktop tools. Read/write files, execute commands, clipboard access.

Action Key Params Description
read_file path, encoding? Read file contents
write_file path, content Write to a file
list_files path, pattern?, recursive? List directory contents
execute command, cwd?, timeout? Execute shell command
clipboard_get — Get clipboard contents
clipboard_set content Set clipboard contents
status — Desktop connection status
desktop({ action: "read_file", path: "/Users/me/config.json" })
desktop({ action: "write_file", path: "/tmp/output.txt", content: "Hello" })
desktop({ action: "list_files", path: "/Users/me/projects", recursive: true })
desktop({ action: "execute", command: "npm run build" })
desktop({ action: "clipboard_get" })

14. task — Task Runner

Purpose: Consolidates 6 task/workflow tools. Schedule, execute, and orchestrate multi-step workflows.

Action Key Params Description
task_create name, command, schedule?, args? Create a task
task_execute taskId Execute immediately
task_list — List all tasks
task_status taskId Get execution status
workflow_create name, steps[] Create multi-step workflow
workflow_run workflowId, variables? Run a workflow
task({ action: "task_create", name: "build", command: "npm run build" })
task({ action: "task_execute", taskId: "build-123" })
task({ action: "task_list" })
task({ action: "workflow_create", name: "deploy", steps: [{ command: "build" }, { command: "deploy" }] })
task({ action: "workflow_run", workflowId: "deploy-456" })

15. research — Web & Docs Search

Purpose: Search the web (Tavily API) and local documentation.

Action Key Params Description
web_search query, searchType?, region?, limit? Web search (general, news, images)
docs_search query, docPaths?, includeContent? Local documentation search
research({ action: "web_search", query: "Angular 20 signals best practices" })
research({ action: "docs_search", query: "module configuration" })

16. computer_use — Autonomous Computer Control

Purpose: Goal-oriented computer control via an observe → think → act vision loop. Claude Vision analyzes screenshots to autonomously complete tasks.

Action Key Params Description
execute description, targetType, startUrl?, maxIterations?, successCriteria? Start autonomous session
sessions — List active sessions
get_session sessionId Get session details
pause sessionId Pause running session
resume sessionId Resume paused session
cancel sessionId Cancel session
audit sessionId, limit? Get audit trail
screenshots sessionId Screenshot history (visual playback)
stats — Computer use statistics

Target types: browser, desktop, hybrid

computer_use({ action: "execute", description: "Navigate to google.com and search for GoGrab AI", targetType: "browser" })
computer_use({ action: "execute", description: "Fill out login form", startUrl: "https://app.example.com/login", targetType: "browser" })
computer_use({ action: "sessions" })
computer_use({ action: "audit", sessionId: "abc123" })

17. skill — Skill Registry

Purpose: Execute modular skills across browser, desktop, computer-use, and git domains.

Action Key Params Description
list — List all registered skills
get skillId Get skill details
execute skillId, skillAction, params Execute a skill action
validate skillId, skillAction, params Validate params before execution
search searchAction Find which skill handles an action
metrics — Skill execution metrics

Built-in Skills

Skill ID Actions
browser-automation navigate, click, fill, screenshot, extract, scroll, hover, click_at, type_text, key_press
desktop-control file_read, file_write, command, clipboard_get/set, screen_capture, process_list, system_info
computer-use execute_goal, get_sessions, pause, resume, cancel
git-operations status, diff, log, branch, checkout, add, commit, push, pull, clone, stash
skill({ action: "list" })
skill({ action: "execute", skillId: "git-operations", skillAction: "status", params: { cwd: "/project" } })
skill({ action: "execute", skillId: "browser-automation", skillAction: "navigate", params: { url: "https://example.com" } })
skill({ action: "search", searchAction: "screenshot" })

Recommended Workflow

1. preflight({ task: "..." })          ← Context + warnings
2. find_similar({ query: "..." })      ← Deeper history if needed
3. convention({ action: "get" })       ← Check coding standards
4. ... do the work ...
5. log_decision({ ... })               ← Record what you decided
6. outcome({ action: "report", ... })  ← Report the result

Generated from mcp-gograb-ai MCP server — 17 gateways, 90+ consolidated tools.