Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
RLHF_MCP_PROFILENoSet to 'essential' for the lean 5-tool setup, or leave unset for the full 12-tool pipeline.
RLHF_FEEDBACK_DIRNoDurable path for telemetry, billing ledgers, and proof-backed workflow-run evidence. Highly recommended for hosted deployments.
RLHF_GA_MEASUREMENT_IDNoGoogle Analytics 4 Measurement ID for telemetry tracking (optional).
RLHF_PUBLIC_APP_ORIGINNoThe origin URL for the public app/landing page used for telemetry and UI.
RLHF_BILLING_API_BASE_URLNoThe base URL for the billing API.
RLHF_GOOGLE_SITE_VERIFICATIONNoGoogle Site Verification token for Search Console (optional).

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
capture_feedbackC

Capture an up/down signal plus one line of why. 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.

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_scoutB

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.

import_documentB

Import a local policy or runbook document into ThumbGate, normalize it for search, and propose provenance-backed gate candidates.

list_imported_documentsB

List imported policy and runbook documents stored in local ThumbGate state.

get_imported_documentA

Read a previously imported document with its proposed gate candidates and provenance.

feedback_statsB

Get feedback stats and recommendations

diagnose_failureC

Diagnose a failed or suspect workflow step using MCP schema, workflow, gate, and approval constraints.

infer_lesson_from_historyC

Perform autonomous inference on chat history to identify why a failure occurred and what rule should be recorded.

list_intentsA

List available intent plans and whether each requires human approval in the active profile

plan_intentC

Generate an intent execution plan with policy checkpoints

start_handoffC

Start a sequential delegation handoff from a delegation-eligible intent plan

complete_handoffC

Complete a sequential delegation handoff and record verification outcomes

describe_reliability_entityA

Get the definition and state of a business entity (Customer, Revenue, Funnel). Aliased to describe_semantic_entity.

get_reliability_rulesA

Retrieve active prevention rules and success patterns. Aliased to prevention_rules.

enforcement_matrixA

Show the full Enforcement Matrix: feedback pipeline stats, active pre-action checks, and rejection ledger with revival conditions.

security_scanA

Scan code for OWASP vulnerabilities (injection, XSS, path traversal, SSRF, prototype pollution) and supply chain risks (typosquatting, install script abuse, wildcard versions). Returns findings with severity, category, and line numbers.

capture_memory_feedbackC

Capture success/failure feedback to harden future workflows. Aliased to capture_feedback.

bootstrap_internal_agentB

Normalize a GitHub/Slack/Linear trigger into startup context, construct a recall pack, prepare a git worktree sandbox, and emit an execution plus reviewer-lane plan.

prevention_rulesC

Generate prevention rules from repeated mistake patterns

export_dpo_pairsC

Export DPO preference pairs from local memory log

export_hf_datasetC

Export ThumbGate agent traces and DPO preference pairs as a HuggingFace-compatible dataset. Produces traces.jsonl, preferences.jsonl, and dataset_info.json with PII-redacted paths. Ready for huggingface-cli upload.

export_databricks_bundleC

Export ThumbGate logs and proof artifacts as a Databricks-ready analytics bundle

construct_context_packC

Construct a bounded context pack from contextfs

evaluate_context_packC

Record evaluation outcome for a context pack

context_provenanceC

Get recent context/provenance events

generate_skillA

Auto-generate Claude skills from repeated feedback patterns. Clusters failure patterns by tags and produces SKILL.md files with DO/INSTEAD rules.

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_stateA

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_actionB

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.

verify_claimA

Check whether a claim has enough tracked evidence before the agent asserts it.

check_operational_integrityA

Evaluate whether the current repo state is safe for PR, merge, release, and publish operations.

workflow_sentinelB

Predict pre-action workflow risk, blast radius, and remediations before a tool call executes.

register_claim_gateA

Register a custom claim verification rule in local runtime state without editing tracked repo config.

gate_statsA

Get gate enforcement statistics -- blocked count, warned count, top gates

dashboardA

Get full ThumbGate dashboard -- Harness Score, gate stats, prevention impact, proof, and system health

org_dashboardA

Org-wide multi-agent dashboard — shows all active agents, gate decisions, adherence rates, risk agents, and top blocked gates across the organization. Team rollout: full visibility. Free preview: limited to 3 agents.

settings_statusA

Resolve managed, user, project, and local ThumbGate settings with per-field origin metadata for policy visibility.

native_messaging_auditA

Audit local browser native messaging hosts and AI browser bridges. Flags missing host binaries, pre-authorized extension bridges, and manifests for browsers not detected locally.

commerce_recallA

Recall past feedback filtered by commerce categories (product_recommendation, brand_compliance, sizing, pricing, regulatory). Returns quality scores alongside memories for agentic commerce agents.

get_business_metricsA

Retrieve high-level business metrics (Revenue, Conversion, Customers) from the Semantic Layer.

describe_semantic_entityA

Get the canonical definition and state of a business entity (Customer, Revenue, Funnel).

estimate_uncertaintyB

Estimate Bayesian uncertainty for a set of tags based on past feedback.

session_handoffA

Write a session handoff primer that auto-captures git state (branch, last 5 commits, modified files), last completed task, next step, and blockers. The next session reads this automatically for seamless context continuity.

session_primerA

Read the most recent session handoff primer to restore context from the previous session. Call at session start.

list_harnessesB

List natural-language harness specs for portable workflow control, proof-backed verification, and GTM execution.

run_harnessA

Execute a natural-language harness through the async job runner with checkpoints, verification, and proof-backed outcomes.

run_autoresearchA

Run a bounded metric-improvement loop: measure a baseline, test a hypothesis, require primary and holdout checks, then keep or discard the candidate mutation with proof.

scheduleA

Create, list, or delete scheduled tasks. Supports natural language scheduling like "daily 9:00", "weekly monday 8:30", "hourly". Installs as macOS LaunchAgent or Linux crontab.

user_profileA

Manage persistent user profile — preferences, style, domain knowledge that persists across sessions. Actions: add, remove, replace, view.

session_searchA

Search past session notes and conversations using full-text search. Returns relevant sessions from the SQLite FTS5 index for cross-session recall.

open_feedback_sessionA

Open a feedback session after thumbs up/down. Follow-up messages will be captured for 60s.

append_feedback_contextA

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_sessionC

Finalize a feedback session and re-infer the lesson with all follow-up context.

webhook_deliverA

Send a message to Teams, Slack, or Discord via webhook. Use for status reports, alerts, and notifications.

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.

run_managed_lesson_agentB

Run the LLM-powered lesson inference and rule generation agent over accumulated feedback. Requires ANTHROPIC_API_KEY for LLM mode; falls back to heuristics if unavailable.

managed_agent_statusA

Show status of the last managed lesson agent run: entries processed, lessons created, gates promoted, and total runs.

run_self_distillA

Run the self-distillation agent to auto-evaluate recent agent sessions and generate improvement lessons without human feedback. Reads conversation logs, detects success/failure signals, and persists lessons.

self_distill_statusA

Show status of the last self-distillation run: sessions analyzed, lessons generated, signals detected.

require_evidence_for_claimA

Leader-Agent completion gate. Before any agent declares done/fixed/shipped/resolved, require tracked evidence. Blocking response when evidence missing; callers honor the blocking flag to stop completion claims.

distribute_context_to_agentsA

Leader-Agent swarm coordinator. Constructs one context pack and distributes it to N worker agents (perplexity-bug-resolver, codex-reviewer, grok-x-intelligence, etc.), recording provenance per agent. Replaces N independent context derivations with a single shared pack.

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_artifactB

Dynamic operator artifact generator. Turns ThumbGate PR, reliability, revenue, and release data into a decision-ready pulse with metrics, evidence, and next actions.

context_stuff_lessonsA

Dump ALL prevention lessons into a single text block for context-window injection. Bypasses RAG/search — returns every lesson sorted by confidence. For most projects (20-200 lessons), fits in 1K-10K tokens.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

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/IgorGanapolsky/ThumbGate'

If you have feedback or need assistance with the MCP directory API, please join our Discord server