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_feedbackA

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

feedback_statsB

Get feedback stats and recommendations

diagnose_failureC

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

list_intentsB

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

plan_intentB

Generate an intent execution plan with policy checkpoints

start_handoffC

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

complete_handoffB

Complete a sequential delegation handoff and record verification outcomes

describe_reliability_entityB

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

get_reliability_rulesB

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

capture_memory_feedbackB

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_rulesB

Generate prevention rules from repeated mistake patterns

export_dpo_pairsB

Export DPO preference pairs from local memory log

export_databricks_bundleB

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

construct_context_packC

Construct a bounded context pack from contextfs

evaluate_context_packB

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.

satisfy_gateA

Satisfy a gate condition (e.g., after checking PR threads). Evidence is stored with a 5-minute TTL.

gate_statsB

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

dashboardB

Get full RLHF dashboard -- approval rate, gate stats, prevention impact, system health

commerce_recallB

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_metricsB

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

describe_semantic_entityB

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.

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/mcp-memory-gateway'

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