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_feedback

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_summary

Get summary of recent feedback

feedback_stats

Get feedback stats and recommendations

diagnose_failure

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

list_intents

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

plan_intent

Generate an intent execution plan with policy checkpoints

start_handoff

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

complete_handoff

Complete a sequential delegation handoff and record verification outcomes

describe_reliability_entity

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

get_reliability_rules

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

capture_memory_feedback

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

bootstrap_internal_agent

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_rules

Generate prevention rules from repeated mistake patterns

export_dpo_pairs

Export DPO preference pairs from local memory log

export_databricks_bundle

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

construct_context_pack

Construct a bounded context pack from contextfs

evaluate_context_pack

Record evaluation outcome for a context pack

context_provenance

Get recent context/provenance events

generate_skill

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

recall

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_gate

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

gate_stats

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

dashboard

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

commerce_recall

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_metrics

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

describe_semantic_entity

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

estimate_uncertainty

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

session_handoff

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_primer

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