Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
BODHI_LOG_LEVELNoLogging level: debug, info, warn, error, silent.info
BODHI_CACHE_TTL_MSNoCache time-to-live in milliseconds.300000
BODHI_KNOWLEDGE_PATHNoPath to knowledge base../knowledge

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

CapabilityDetails
tools
{
  "listChanged": true
}
resources
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
bodhi_routeA

Find the best playbook for a given task. Uses the INDEX.md routing table to match tasks to relevant playbooks. Returns the most relevant playbook with confidence score and alternatives. Use this first — if no match, fall back to bodhi_search.

bodhi_searchA

Full-text search across all playbooks in the Bodhi knowledge base. Use for broader queries when bodhi_route() doesn't find a match, or to explore related topics. Returns scored results with provenance metadata.

bodhi_listA

List all available playbooks in the Bodhi knowledge base with metadata. Use to explore what knowledge is available or filter by domain/complexity. Stale entries are flagged.

bodhi_readA

Read the full content of a specific playbook from the Bodhi knowledge base. Use after bodhi_route() or bodhi_search() to get the complete playbook content. Supports extracting specific sections.

bodhi_summaryA

Get a summary of the Bodhi knowledge base including total playbooks, domains, and complexity distribution.

bodhi_diagnoseA

Health check and debugging information for the Bodhi MCP server. Use to troubleshoot setup issues or verify the knowledge base is loaded correctly.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
ai-development domainAll playbooks in the ai-development domain
architecture domainAll playbooks in the architecture domain
backend domainAll playbooks in the backend domain
communication domainAll playbooks in the communication domain
data domainAll playbooks in the data domain
devops domainAll playbooks in the devops domain
documentation domainAll playbooks in the documentation domain
frontend domainAll playbooks in the frontend domain
marketing domainAll playbooks in the marketing domain
security domainAll playbooks in the security domain
testing domainAll playbooks in the testing domain
ux domainAll playbooks in the ux domain
AI Agent Web Data Acquisition[ai-development/intermediate] When an AI agent needs web data, the method it uses determines 7.5x cost differences and 60-80% maintenance variance.
AI Agent Workflows[ai-development/intermediate] Cost-optimized multi-agent patterns for Claude Code — when to use Opus, Sonnet, or Haiku.
Agentic Security Review[ai-development/advanced] Vulnerability discovery is an orchestration problem, not a frontier-model problem. A fleet of cheap specialized agents that find broadly, then adversarially verify and prove exploitability, beats a single large model — at a fraction of the cost.
Git for AI Coding Agents[ai-development/intermediate] What changes when an agent holds the keyboard: it runs in parallel, loses memory mid-task, commits constantly, and can do something destructive from a misread instruction. Generic git assumes none of that. This is the delta.
MCP Server Design for Knowledge Bases[ai-development/advanced] When to use each MCP primitive, how to design AI-first tools, and the patterns that separate production servers from prototypes.
Architecture Decision Records (ADRs)[architecture/beginner] How to document architectural decisions so future developers (and AI agents) understand WHY choices were made.
Session Handoffs[architecture/beginner] How to document context for seamless continuation of work across sessions, team members, or AI agents.
B2B2C White-Label Payment & Revenue Architecture[backend/advanced] Decision framework for payment routing, revenue share, tax compliance, and tenant payment isolation in a white-label platform where you run the product and tenants bring the audience.
Bring-Your-Own Payment Gateway[backend/advanced] Let each tenant connect their own gateway and collect payments — without touching funds, needing an RBI licence, or holding card data.
Cashfree Payment Gateway Integration[backend/advanced] Decision framework for Cashfree PG integration method, payment flow architecture, webhook reliability, and advanced features -- for India-first apps needing fast settlements and low UPI fees.
India Email Deliverability[backend/intermediate] India-specific email infrastructure decisions that contradict mainstream (Western-centric) advice.
Offers, Discounts & Coupon Architecture[backend/intermediate] Decision framework for building discount systems that don't destroy MRR, leak revenue, or get abused.
Payment Gateway Integration & Cost Optimization[backend/advanced] Decision framework for gateway selection, idempotent payment flows, refund handling, and fee reduction -- focused on India-first apps.
Testing AWS SES[backend/intermediate] Two questions people conflate: "does my code send correctly?" and "will the mail land in the inbox?" — different layers, different tools. And one rule underpins all of it: a careless test can damage sender reputation and get the account suspended.
Startup Financial Metrics by Audience & Stage[backend/advanced] Decision framework for which metrics to track, when, and which to show to investors vs clients vs your internal team -- synthesized from a16z, YC, Indian VC practices, DPIIT/RBI compliance, and EdTech benchmarks.
Text-Based Rapport[communication/intermediate] Make them feel heard, respected, and interesting. Everything else is tactics.
Multi-Tenant Schema Design (Postgres RLS)[data/advanced] How to lay out a shared-database, pooled multi-tenant schema so a single missed `WHERE` can never cross tenants — and so PII, shared data, and history survive contact with a connection pooler.
Infrastructure as Code Best Practices[devops/intermediate] Decision framework for choosing IaC tools (CDK vs Terraform vs Pulumi), organizing code for teams and AI agents, construct-level decisions, multi-stack patterns, testing strategies, and compliance automation. AWS-focused with cross-cloud guidance from official sources (AWS Well-Architected, Google Cloud Terraform Docs, Azure Cloud Adoption Framework).
Logging & Observability (Serverless + Edtech)[devops/intermediate] The non-obvious decisions: what library (often none), how correlation attaches without hand-threading, how to keep PII out by construction, and which unconventional technique to reach for. Plus the edtech parts generic advice skips — DPDP-safe logging of minors and a dispute-proof audit trail.
Verification Checklist[devops/beginner] A 6-phase quality gate to run before submitting code for review or deployment.
AI-Optimized Documentation[documentation/intermediate] How to write documentation that AI agents can consume efficiently and act on accurately.
API Documentation Best Practices[documentation/intermediate] How to write API documentation that developers can use without guessing.
Docs-as-Code in the AI Era[documentation/intermediate] Docs now have two readers: a human who infers, and an agent that takes them literally. The pre-AI docs-as-code pipeline still works — it matters _more_ — but the agent reader adds new artifacts, a new failure mode (drift that silently misdirects agents), and a few unconventional plays that pay off big.
AI-Agent Document Generation[frontend/advanced] Decision frameworks for AI agents generating professional PDFs and presentations with minimal human intervention.
Design-to-Code with Machine-Verified Fidelity[frontend/advanced] Convert an HTML design mock into a production component app where fidelity is proven by numbers, not eyes — and the LLM is paid only for semantics, never for geometry.
Next.js Data Fetching and Caching[frontend/advanced] Decision framework for the 4-layer caching model, revalidation strategies, and when to use Server Actions vs Route Handlers.
Server vs Client Component Boundaries[frontend/intermediate] Decision framework for where to draw the server/client line in React 19+ apps.
Account-Based Marketing[marketing/advanced] Decision framework for ABM tier selection, tech stack, and sales-marketing alignment that avoids the #1 failure mode: choosing platforms before strategy.
Content Structure for AI Citation[marketing/intermediate] Decision framework for structuring pages so LLM answer engines extract and quote them. Companion to seo-aio-discoverability.md; this doc covers the passage-level mechanics, not the site-level setup.
AI Citation Measurement[marketing/intermediate] Decision framework for tracking AI Overview presence, LLM citations, and brand mentions across engines. Sized to fit a small team budget.
AI-Assisted Content Strategy[marketing/intermediate] Research-backed workflows for maintaining authentic voice when collaborating with AI on content creation.
B2B Collateral Design[marketing/intermediate] Visual design decisions for brochures, one-pagers, and datasheets — what layout, typography, detail level, and psychological framing to use for which audience and funnel stage.
B2B Community Building[marketing/intermediate] Decision framework for when and how to build B2B communities that shorten sales cycles, reduce churn, and create defensible moats.
B2B Sales Lifecycle[marketing/advanced] End-to-end decision framework for building and running B2B sales — from founder-led selling through team scaling, qualification, closing, and expansion.
B2B Sales Metrics & Pipeline Management[marketing/intermediate] Benchmarks and decision thresholds for pipeline coverage, win rates, sales velocity, NRR, and forecasting — contextualized by ACV and company stage.
B2B Sales Tools & CRM Stack[marketing/intermediate] Decision framework for selecting CRM, engagement, intelligence, and AI tools — contextualized by team size, ACV, and company stage.
B2B SaaS Website Architecture[marketing/advanced] Decision framework for structuring a company website that simultaneously converts clients, attracts investors, and builds a talent pipeline — without dedicated pages for each.
Brand Production Pipeline[marketing/intermediate] How to turn brand strategy decisions into production-ready assets. The bridge between "we know what the brand is" and "here are the files to build with." Covers what agencies like Pentagram and Wolff Olins deliver, what AI agents can generate, and what needs a human.
Cold Email Operations[marketing/intermediate] Infrastructure setup, sending limits, analytics, list hygiene, and A/B testing for cold email. The operational counterpart to `cold-outreach-cadence.md` (which covers what to send).
Cold Outreach Cadence Design[marketing/intermediate] When to use which outbound channel, in what order, how many touches, and which hooks/openers to use. Based on conversation intelligence and large-scale benchmark data.
Company Brand Identity[marketing/intermediate] How to apply archetype, voice, and positioning frameworks to a company (not just a founder). Covers scaling voice across teams, touchpoint consistency, the founder-company brand relationship, and brand guidelines that actually get followed. For foundational frameworks (Jung, Fiske, Aaker, Kapferer, StoryBrand), see [founder-brand-identity.md](./founder-brand-identity.md).
Content-Led Client, Talent & Investor Acquisition[marketing/intermediate] Platform-specific decision framework for using LinkedIn and X content as a magnet for clients, employees, and investors -- grounded in algorithm mechanics, buyer behavior data, and founder-led marketing research.
Copywriting Best Practices[marketing/intermediate] Guidelines for writing clear, trustworthy, conversion-focused copy.
D2C Community Building[marketing/intermediate] Platform-specific decision framework for building brand communities that drive retention and reduce CAC.
Demand Gen Orchestration[marketing/advanced] The orchestration layer that connects inbound, outbound, community, ABM, and events into a single pipeline — with budget allocation and attribution to prove what works.
DevTool Website Anatomy[marketing/advanced] Section-by-section blueprint for developer tool websites, synthesized from the Evil Martians 2025 study (100 devtool landing pages), StoryBrand narrative framework, and IA best practices.
Email Marketing Psychology[marketing/intermediate] Counter-intuitive findings on timing, frequency, and what actually drives engagement.
Entity Authority and Knowledge Graph[marketing/advanced] Decision framework for being recognized as a known entity by Google, Bing, and LLMs. Determines whether AI assistants confidently cite you versus confusing you with a same-named entity.
Exam Lifecycle Email Design[marketing/intermediate] Anxiety-aware transactional emails that reduce drop-off across registration, exam, and results.
Founder Brand Identity & Positioning[marketing/intermediate] Decision framework for choosing your brand archetype, voice, and positioning as a founder in any industry -- grounded in Jung's archetypes, Fiske's warmth-competence model, Aaker's brand personality research, and Kapferer's identity prism. This is the identity layer that sits beneath all tactical playbooks (content, typography, influencer).
GTM Expansion & Market Entry[marketing/intermediate] Decision framework for market entry, upmarket/downmarket moves, international expansion, channel partnerships, and land-and-expand strategy.
GTM Pricing & Packaging[marketing/intermediate] Decision framework for pricing models, tier structure, free tier strategy, and value metric selection — with 2025-2026 benchmarks.
Go-To-Market Strategy[marketing/advanced] Decision framework for choosing GTM motion, defining ICP, positioning, and staging your go-to-market — from pre-PMF through scale.
India SaaS Pricing Strategy[marketing/intermediate] Decision framework for PPP-adjusted pricing, rupee-denominated tiers, and India-specific buyer psychology.
India Telecalling Compliance & Spam Avoidance[marketing/intermediate] Decision framework for legitimate telecallers to pass India's 5-layer spam detection without getting flagged or disconnected.
Influencer Marketing & Thought Leadership[marketing/intermediate] Decision framework for building authority as a thought leader AND for selecting/managing influencers -- grounded in parasocial relationship research, source credibility theory, and quantified platform data.
Interactive Demo Strategy[marketing/intermediate] Decision frameworks for building interactive product demos that convert — including when paid tools aren't worth it and open-source alternatives that work.
LinkedIn Company Page Strategy[marketing/intermediate] Decision framework for company page setup, content distribution, and the employee advocacy model.
LinkedIn Outbound Sales[marketing/intermediate] Decision framework for B2B outbound prospecting on LinkedIn -- when to automate, how to qualify, and what actually converts in 2026.
Medium and Format Psychology[marketing/intermediate] When to use physical, digital, or hybrid formats for marketing and sales materials. Based on neuroscience and buyer behavior research.
Pitch Deck Strategy[marketing/advanced] Stage-specific structure, investor psychology triggers, design-to-funding correlation, and content frameworks -- synthesized from DocSend data, NBER VC decision research, YC/Sequoia/a16z guidance, and behavioral science.
Product Marketing[marketing/advanced] Operational decision framework for PMM: when to hire, how to structure launches, build battle cards, and maintain the positioning → sales → feedback loop.
Product Video Strategy for SaaS & Platforms[marketing/intermediate] When to use interactive demos vs passive video, how to structure demos by funnel stage, and why winning demos spend less time on features.
Programmatic Video Generation[marketing/intermediate] When to generate videos from code instead of editing software, which tool to use, and how to build AI-powered video pipelines that cost pennies per render.
SEO and AI Discoverability[marketing/intermediate] Decision framework for making websites, developer tools, and packages citable by AI agents (ChatGPT, Claude, Perplexity, Gemini) alongside traditional search.
Social Media Authority Building[marketing/intermediate] Decision frameworks for establishing thought leadership on LinkedIn and X/Twitter.
Talent Pipeline via Careers Page[marketing/intermediate] A selective careers page attracts better candidates than an open one — even (especially) when you're not actively hiring.
Trust Building in Marketing[marketing/intermediate] How to build credibility through verifiable claims, authentic testimonials, and transparent communication.
Video Ad Creative Strategy[marketing/intermediate] Decision frameworks for production style, platform targeting, and sequencing — the choices that drive 49-56% of ad sales lift (Nielsen/Kantar).
Video Production Craft: Audio, Transitions & Subtitles[marketing/intermediate] The production decisions that separate amateur from professional video — music tempo matching, cut pacing, and caption styling that measurably lifts engagement.
Children's Data Protection[security/advanced] Decision framework for COPPA, GDPR Article 8, and India DPDP Act compliance in educational platforms handling minors' data, with multi-jurisdiction consent mechanisms.
Deception-Based Breach Detection[security/advanced] Decision framework for using honeypots, honeytokens, and decoy data to detect breaches in multi-tenant SaaS platforms — especially those using wildcard DNS.
Dev/Prod Environment Separation[security/intermediate] Decision framework for isolating development, staging, and production environments to prevent credential reuse attacks, data leakage, and configuration drift.
India DPDP Act Compliance[security/advanced] Design and technical requirements for Digital Personal Data Protection Act 2023 compliance.
India SaaS Legal Compliance[security/advanced] Decision framework for Indian legal documents required for SaaS/multi-tenant platforms.
Moving Target Defense[security/advanced] Decision framework for continuously changing the attack surface to invalidate attacker reconnaissance — choosing which MTD techniques to apply at which layer of a SaaS platform.
Multi-Tenant CORS & CSP[security/advanced] Decision framework for CORS origin validation and CSP policies when tenants use subdomains (`tenant.mycompany.com`) or custom domains (`app.clientbrand.com`), with environment-specific strategies.
Multi-Tenant Isolation[security/advanced] Decision framework for preventing cross-tenant data leakage in SaaS platforms through database, authentication, and cache isolation strategies, with attack pattern defense.
Server Actions Security[security/advanced] Decision framework for securing Next.js Server Actions -- they're public endpoints, not private functions.
Serverless AWS Security at Scale[security/advanced] Decision framework for securing AWS Lambda / API Gateway architectures serving 100K+ concurrent users (mock tests, flash sales, live events).
Webapp Security (OWASP 2025)[security/intermediate] Decision framework mapping OWASP 2025 Top 10 changes to actionable defenses, with focus on the two new categories and rank shifts developers must act on.
Testing Strategy (Assessment Platforms)[testing/intermediate] General testing discipline plus the assessment-specific tests that generic advice never covers: scoring correctness, adaptive engines, item promotion, payment webhooks, AI content, and exam-day load.
WCAG 2.2 AA Accessibility Build Rules[ux/intermediate] The five WCAG 2.2 AA success criteria that require code changes — not just design decisions — with exact implementation constraints per SC.
Card System[ux/intermediate] Cards drift because teams build N bespoke cards. The fix is to make Card one composable primitive — a container with named slots, every property a token — so all cards move together and stay consistent across web, mobile, and dashboard. Consistent, not identical: shared DNA, different density.
Cognitive Load in Dashboards[ux/intermediate] Reduce mental effort so users extract insights, not decode interfaces.
Component API Architecture[ux/advanced] Decision framework for choosing component distribution, composition patterns, and styling strategies -- synthesized from Radix, shadcn/ui, M3 Compose, Fluent 2 React v9, and Panda CSS.
Conversion Optimization[ux/intermediate] Patterns for reducing abandonment and building trust in checkout and signup flows.
Data Display & Dashboard Design[ux/intermediate] Patterns for displaying metrics, dashboards, and data-dense interfaces.
Design System Foundations[ux/intermediate] Science-backed decisions for grid, type scale, color contrast, tokens, and consistency -- what top companies actually ship vs what frameworks recommend.
Design System Motion[ux/advanced] Decision framework for choosing spring-based vs duration-based animation, parameterizing motion across Apple/M3/Fluent systems, and implementing motion tokens -- synthesized from Apple WWDC 2023-2025, M3 Expressive, Fluent 2, and CSS animation standards.
Design System Testing & Quality[ux/advanced] Decision frameworks for testing pyramids, visual regression tool selection, accessibility automation gaps, and metrics that actually predict design system health.
Developer Tool Dark Mode Architecture[ux/advanced] Implementation patterns for dark mode in developer tools — real hex values from 6+ shipped products, elevation-over-shadows strategy, desaturation formulas, and multi-variant approach.
Developer Tool Premium Perception[ux/advanced] Synthesized decision framework for what makes developer tools feel premium — combining design system analysis (Stripe, Linear, Vercel, GitHub) with developer psychology research.
EdTech Community & Social Learning[ux/advanced] Decision frameworks for study groups, leaderboards, parent dashboards, and student communities in competitive exam platforms.
Ethical Persuasion in UX[ux/advanced] The line between engaging design and manipulative patterns—and how to stay on the right side.
Exam Anxiety UX Design[ux/advanced] UI/UX patterns that reduce test anxiety in high-stakes digital exam platforms.
Exam Diagram Design for NEET/JEE[ux/advanced] Decision framework for creating diagrams that reduce cognitive load, match NCERT conventions, and let students focus on the question -- not the diagram.
Exam Mobile Interface[ux/advanced] Decision frameworks for connectivity resilience, question navigation, and backend integrity on mobile exam platforms.
Gamification[ux/intermediate] Game mechanics to drive user engagement, motivation, and retention.
Gen Z Customer Loyalty[ux/intermediate] Design patterns that earn loyalty from the most skeptical, values-driven generation.
India Checkout Patterns[ux/advanced] India-specific checkout UX decisions that generic conversion playbooks miss — payment ordering, DPDP age-gating, failure handling, and trust signals for Indian users.
Loading States & Perceived Performance[ux/intermediate] Techniques to manage user perception during wait times and async operations.
Micro-interactions & Motion[ux/intermediate] Patterns for adding polish, feedback, and delight through subtle animations.
Multi-Platform & Multi-Brand Design Systems[ux/advanced] Decision frameworks for cross-platform token strategies, white-label architecture, and when to share code vs tokens vs nothing -- synthesized from Fluent 2, M3, Apple HIG, Shopify Polaris, and Atlassian patterns.
Neurochemistry of Engagement[ux/advanced] How dopamine, oxytocin, serotonin, and endorphins drive user behavior—and how to apply this ethically.
Premium Checkout Design[ux/advanced] The specific design system decisions that separate Stripe-quality checkout from template-quality — synthesized from Apple, Stripe, Razorpay, Notion, Linear, and Baymard research.
Progressive Disclosure[ux/beginner] Show essentials first; reveal complexity on demand.
Student Feedback Psychology[ux/intermediate] How to present performance data without triggering defensiveness or disengagement.
Sub-Perceptual Craft[ux/intermediate] Premium is experienced as the absence of tiny insults. No user names the gray tap flash, the font swap, the scrollbar layout jump, or the white flash before dark mode — but every user feels them. This is the audit list of platform defaults to kill, each with its correct fix and its trap.
Text Color Hierarchy[ux/intermediate] Text shades should be decided once, as a semantic ramp, and referenced everywhere. Every text element points at `text.primary` … `text.disabled` — never a raw hex or a raw opacity. Change the ramp, and every screen moves at once.
Typography & Color for Brand Perception[ux/intermediate] Decision framework for choosing typefaces, sizes, and colors that trigger specific brand perceptions -- premium authority, friendly approachability, or trustworthy expertise -- backed by quantified research.
Visual Harmony System[ux/advanced] Harmony is the felt sense that everything belongs to one system — governed by one order. You cannot measure whether the order is beautiful, but you can measure conformance to it, and you can make disharmony structurally impossible. This is how to check it and gate it from component to app.

TDQS

A4/5.0

Scored across 6 tools

Disambiguation4/5

Each tool targets a distinct stage of the knowledge-base workflow: route (index match), search (full-text fallback), list (browse), read (fetch content), summary (stats), diagnose (health). The only mild overlap is route vs. search, but the descriptions explicitly sequence them ('use this first... fall back to bodhi_search'), so an agent can choose correctly.

Naming Consistency4/5

All six tools share a uniform bodhi_ prefix followed by a short action-like name, which reads predictably. The one minor deviation is bodhi_summary, which is a noun rather than a verb, while route/search/list/read/diagnose are verbs.

Tool Count5/5

Six tools is well-scoped for a read-oriented knowledge base: discovery (route, search, list), retrieval (read), and meta (summary, diagnose) each earn their place with no redundancy.

Completeness4/5

The surface covers the full read path from discovery to full content plus health/stats, with section extraction in bodhi_read. Gaps are minor and likely intentional (read-only: no create/update/index-refresh tools, and no explicit 'related playbooks' traversal beyond search).

Maintenance

ActivityInactive
ResponsivenessNo recent community issues