ThumbGate
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| RLHF_MCP_PROFILE | No | Set to 'essential' for the lean 5-tool setup, or leave unset for the full 12-tool pipeline. | |
| RLHF_FEEDBACK_DIR | No | Durable path for telemetry, billing ledgers, and proof-backed workflow-run evidence. Highly recommended for hosted deployments. | |
| RLHF_GA_MEASUREMENT_ID | No | Google Analytics 4 Measurement ID for telemetry tracking (optional). | |
| RLHF_PUBLIC_APP_ORIGIN | No | The origin URL for the public app/landing page used for telemetry and UI. | |
| RLHF_BILLING_API_BASE_URL | No | The base URL for the billing API. | |
| RLHF_GOOGLE_SITE_VERIFICATION | No | Google Site Verification token for Search Console (optional). |
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 | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| capture_feedbackA | Capture an up/down signal plus one line of why. Required: signal ("up" or "down"; not "feedback" or "rating"). Add context (one sentence) and, for "down", whatWentWrong and whatToChange. Example: {"signal":"down","context":"claimed deployed without a health check","whatToChange":"run curl on /health first"}. Vague feedback is logged, then returned with a clarification prompt instead of memory promotion. |
| feedback_summaryC | Get summary of recent feedback |
| search_lessonsB | Search promoted lessons and show the corrective actions, lifecycle state, prevention rules, gates, and next harness fixes linked to each result. |
| retrieve_lessonsA | Retrieve the most relevant lessons for a given tool/action context. Use in PreToolUse hooks for per-action guidance. |
| search_thumbgateA | Search raw ThumbGate state across feedback logs, ContextFS memory, prevention rules, and imported policy documents. |
| plan_multimodal_retrievalA | Plan a high-ROI multimodal retrieval rollout for screenshots, PDF pages, dashboard captures, and proof artifacts without starting GPU training. |
| plan_context_footprintA | Estimate MCP schema and feedback-context footprint before loading large manifests into an agent prompt. Reports progressive-discovery savings, context compaction savings, and proof-preserving recommendations. |
| route_workloadA | Decide whether a workload goes to Claude (code, tool use, strict JSON) or Gemini (huge payloads, raw logs), or splits into ordered sub-tasks. Deterministic rules first; an LLM router is used for ambiguous work only when useModel is true. Returns a validated routing decision; does not run the workload. |
| trim_contextA | Compact retrieved context for one target operation before inference: drops metadata and boilerplate, collapses repeats, and keeps error lines, stack frames, trace ids and matching declarations verbatim. Deterministic unless useModel is true and the result is still over tokenBudget. |
| plan_agent_design_governanceA | Evaluate an agent workflow before adding tools, autonomy, or subagents. Recommends single-agent vs manager/decentralized patterns, baseline evals, instruction fixes, and tool safeguards. |
| plan_proactive_agent_eval_guardrailsA | Map proactive-assistant eval gaps to PARE-style state-machine, active-user-simulation, goal-inference, intervention-timing, and multi-app orchestration gates. |
| plan_reward_hacking_guardrailsA | Detect reward-hacking patterns such as unsupported completion claims, sycophancy, verbosity-as-proof, benchmark overfitting, evaluator manipulation, and proxy-only metrics. |
| plan_oss_pr_opportunity_scoutA | Rank upstream GitHub repositories ThumbGate depends on for proof-backed issue, bounty, and PR opportunities without spammy drive-by contributions. |
| plan_chatgpt_ads_readinessB | Prepare ThumbGate intent clusters, ad copy, proof links, UTM measurement, and launch gates for ChatGPT Ads Manager tests. |
| feedback_statsA | Get feedback stats and recommendations |
| suggest_fixA | Suggest corrective actions for a described failure by searching the lesson DB and prevention rules. Returns up to 3 ranked suggestions with their source. Call this when something goes wrong and you need guidance on what to do next. |
| prevention_rulesC | Generate prevention rules from repeated mistake patterns |
| recallA | Recall relevant past feedback, memories, and prevention rules for the current task. Call this at the start of any task to inject past learnings into the conversation. |
| unified_contextA | Assemble a complete, role-aware context object in one call. Combines session state, user profile, relevant lessons, prevention guards, context pack, and code-graph impact — with tiered graceful degradation (full → warm → cold). Replaces multiple recall/retrieve/session_primer calls with a single orchestrated request. |
| satisfy_gateA | Satisfy a gate condition with optional structured reasoning. Evidence is stored with a 5-minute TTL. When structuredReasoning is provided, the premise/evidence/conclusion chain is stored in the audit trail. |
| set_task_scopeA | Declare or clear the current task scope so ThumbGate can compare affected files and diffs against the approved path set. |
| get_scope_stateB | Return the active task scope and any unexpired protected-file approvals. |
| set_branch_governanceA | Declare or clear branch and release governance so PR, merge, release, and publish actions can be evaluated against explicit workflow state. |
| get_branch_governanceA | Return the active branch and release governance state. |
| approve_protected_actionA | Grant a time-limited approval for edits or publish actions that touch protected files. |
| track_actionA | Record a verification action in the current session (for example figma_verified or tests_passed). Session actions expire after one hour. |
| record_task_outcomeA | Record an idempotent task-level outcome with verification evidence, tool correctness, policy behavior, latency, cost, and business KPI movement. A completed response without evidence is recorded as not working. |
| get_task_outcomesA | Read a task outcome by taskId or the most recent evidence-backed outcome receipts. |
| get_agent_outcome_metricsA | Compute transparent task, tool, safety, escalation, latency, cost, and business metrics from recorded task outcomes. Empty data returns insufficient_evidence. |
| request_human_escalationA | Create an idempotent, expiring human-review request with requester identity and evidence. Agents cannot approve their own requests. |
| list_human_escalationsA | List auditable human-escalation state. Approval decisions are deliberately absent from the agent tool surface. |
| create_purchase_requisitionB | Create an append-only purchase requisition and independent human-escalation request. This does not authorize spending. |
| list_purchase_requisitionsB | List projected purchase-requisition states from the append-only financial ledger and human-review queue. |
| reserve_purchase_requisitionB | Reserve a single-use amount from an independently approved purchase requisition. Approval is unavailable from the agent tool surface. |
| settle_purchase_requisitionA | Commit actual spend with receipt evidence or release an unused reservation. Events are append-only. |
| reconcile_purchase_ledgerB | Reconcile the append-only financial ledger, including totals, stale reservations, status counts, and tamper-evident event hashes. |
| verify_claimA | Check whether a claim has enough tracked evidence and, for parseable factual claims (row counts, file lines/bytes/existence, versions), recheck configured SQLite/filesystem/JSON verifiers before the agent asserts it. |
| check_operational_integrityA | Evaluate whether the current repo state is safe for PR, merge, release, and publish operations. |
| workflow_sentinelA | Predict pre-action workflow risk, blast radius, and remediations before a tool call executes. |
| gate_checkA | Evaluate a proposed tool call against ThumbGate policy BEFORE executing it. Returns decision "block" (do not run the action; surface the reason) or "allow". Use this when about to run a shell command, write/edit a file, or take any irreversible action. |
| estimate_uncertaintyA | Estimate Bayesian uncertainty for a set of tags based on past feedback. |
| open_feedback_sessionB | Open a feedback session after thumbs up/down. Follow-up messages will be captured for 60s. |
| append_feedback_contextB | Append a follow-up message to an open feedback session. Call this when the user types additional context after giving thumbs up/down. |
| finalize_feedback_sessionB | Finalize a feedback session and re-infer the lesson with all follow-up context. |
| reflect_on_feedbackA | Run a post-mortem analysis on negative feedback. Returns a proposed rule and recurrence info. |
| report_product_issueA | Report a bug, suggestion, or complaint about ThumbGate itself (not project feedback). Auto-files a GitHub issue with system context. Use when the user expresses frustration or requests a feature for the thumbgate tool. |
| require_evidence_for_claimB | Leader-Agent completion gate. Before any agent declares done/fixed/shipped/resolved, require tracked session evidence AND recheck parseable factual claims (row counts, file metrics, versions) against configured verifiers. Blocking response when evidence is missing or a factual claim mismatches; callers honor the blocking flag to stop completion claims. |
| session_reportA | Unified observability rollup. Aggregates feedback stats, gate stats, and recent context/provenance events over a time window in one call. Replaces separate dashboard/gate_stats/feedback_stats calls with a single LangSmith-style report. |
| generate_operator_artifactA | Dynamic operator artifact generator. Turns ThumbGate PR, reliability, revenue, and release data into a decision-ready pulse with metrics, evidence, and next actions. |
| parallel_workflowB | Execute a parallel, multi-step subtask workflow to resolve an objective like a security audit, performance benchmark, or repository inspection. |
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 50 tools
Multiple clusters overlap heavily: recall / retrieve_lessons / search_lessons / unified_context / search_thumbgate / suggest_fix all claim to surface past learnings and prevention rules for the current context, and the descriptions themselves admit substitutability (unified_context 'Replaces multiple recall/retrieve/session_primer calls'). Governance tools are similarly tangled — gate_check, verify_claim, require_evidence_for_claim, check_operational_integrity, workflow_sentinel, and satisfy_gate all participate in pre-action decisioning, and feedback_summary vs feedback_stats vs session_report are hard to separate. A handful of plan_* tools are distinct, but the core surface requires reading long descriptions to avoid misselection.
Most names are snake_case, but the convention splits between clear verb_noun (capture_feedback, set_task_scope, plan_reward_hacking_guardrails) and bare noun phrases with no verb (prevention_rules, feedback_stats, unified_context, workflow_sentinel, recall, parallel_workflow). The plan_* prefix family is consistent, but the verbless names and the mix of imperative vs. resource-style naming make the pattern unpredictable.
50 tools for what is fundamentally a feedback/lesson/gate governance server is an extreme mismatch — well past any practical agent-facing surface. Several tools are unrelated side quests (plan_chatgpt_ads_readiness, plan_oss_pr_opportunity_scout, plan_multimodal_retrieval, purchase requisition ledger), which dilute the core domain and inflate selection cost.
Coverage is broad — feedback capture and session lifecycle, lesson search/retrieval, gates and protected approvals, task outcomes and metrics, escalation, purchase requisitions, and integrity checks are all present. However, there is no tool to promote, edit, or retire a lesson or prevention rule (only search/generate), and feedback reporting has no query/delete surface, leaving lifecycle dead ends in the core knowledge loop.