Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
SF_ACTIVE_DOMAINSNoComma-separated list of domain IDs to restrict search to. If not set, all 129 domains are searched.

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
}
prompts
{
  "listChanged": true
}
resources
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
sf_searchA

Search across all Salesforce documentation domains for a topic. Returns matching documents with titles, domains, and descriptions. When domain restriction is active, only searches active domains.

sf_read_topicA

Read a specific Salesforce documentation topic file. Use sf_search first to find the domain and topic ID. Optionally request a specific section by heading.

sf_graph_queryB

Navigate the Salesforce Knowledge Graph. Find related docs, explore namespaces, discover service categories, or get full context for a document.

sf_list_domainsA

List all available Salesforce documentation domains, optionally filtered by service category.

sf_apex_lookupA

Look up an Apex class or method by name. Searches the apex-reference domain specifically for class documentation, methods, and signatures.

sf_code_examplesA

Find working code examples from Salesforce documentation. Returns code snippets with language, source file, and surrounding context. Great for learning patterns and copy-paste solutions.

sf_object_referenceA

Look up a Salesforce standard object or field. Searches the Field Reference Guide (4,800+ pages) and Object Reference (1,700+ pages) for object details, field types, and relationships.

sf_explain_errorA

Explain a Salesforce error message or exception. Searches documentation for the error, provides explanation, common causes, and resolution steps.

sf_limitsA

Look up Salesforce governor limits and platform constraints. Returns exact numbers for SOQL, DML, callout, CPU, heap, batch, API limits and more.

sf_semantic_searchA

AI-powered semantic search with NLP query understanding. Analyzes your query to extract entities, intent, and synonyms for better results. Returns section-level matches with header paths. Use this for natural language questions like 'how to process records in bulk' or 'debug authentication errors'.

sf_set_active_domainsA

Set the active domain restriction. When set, all tools only return results from the specified domains. Use sf_suggest_domains first to discover relevant domain IDs. Call with clear=true to remove restrictions.

sf_suggest_domainsA

Suggest relevant documentation domains based on a description of what the user is working on. Returns domain IDs that can be passed to sf_set_active_domains. Use this when the user wants to focus their search on specific Salesforce products or features.

Prompts

Interactive templates invoked by user choice

NameDescription
explore_apiExplore a Salesforce API — discover endpoints, methods, and usage patterns
debug_apexDebug an Apex issue — look up classes, methods, and known patterns
compare_servicesCompare Salesforce products by exploring their documentation domains
write_apexWrite production-ready Apex code — gathers limits, patterns, and examples before coding

Resources

Contextual data attached and managed by the client

NameDescription
overviewOverview of the SF Documentation Knowledge system — stats, available tools, and how to use them
domainsAll Salesforce documentation domains with descriptions
namespacesAll Apex namespaces with document counts
servicesSalesforce service categories with domain counts
configCurrent MCP server configuration — active domain restrictions, cache stats

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/Avinava/sf-documentation-knowledge'

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