Salesforce Cloud
v0.8.2AI-powered Salesforce CRM: opportunity intelligence, conversation analysis, SOQL, analytics
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
batch
Execute multiple operations in a single call with result references. Use $N.field to reference prior results (e.g., $0.id for the ID from operation 0). Destructive operations require confirm: true.
| Parameter | Type | Description |
|---|---|---|
operations * | array | List of operations to execute sequentially (max 16) |
detail | string | Response detail level (default: summary) |
onError | string | Error handling: bail (default) stops on first failure, continue executes remaining |
analyze
Run analytics on any Salesforce object — group by categorical fields, aggregate numeric fields, and compute custom expressions. Uses field-type metadata for validation.
| Parameter | Type | Description |
|---|---|---|
object * | string | Salesforce object API name (e.g., Opportunity, Account, Lead) |
compute | array | Computed expressions (max 5). Format: name = expr. E.g., ["win_rate = won / total * 100"] |
filter | string | SOQL WHERE clause (e.g., "StageName = 'Closed Won' AND Amount > 100000") |
groupBy | string | Field to group by (must be picklist, boolean, or similar categorical field) |
maxGroups | number | Max groups to return (default: 20) |
analyze_conversation
Analyze conversation activity and engagement patterns for an opportunity. Extracts insights from Gong calls, emails, and other activities to provide engagement recommendations.
| Parameter | Type | Description |
|---|---|---|
opportunityId * | string | The ID of the Salesforce opportunity to analyze conversation activity for |
generate_business_case
Generate a markdown business case report for an opportunity. Fetches opportunity details, contacts, conversation insights, and similar won deals to produce a complete report.
| Parameter | Type | Description |
|---|---|---|
opportunityId * | string | The ID of the Salesforce opportunity to generate a business case for |
clientName | string | Optional client name to override the account name in the report title |
enrich_opportunity
Enrich an opportunity with market intelligence, industry insights, and strategic recommendations based on similar deal patterns and best practices.
| Parameter | Type | Description |
|---|---|---|
opportunityId * | string | The ID of the Salesforce opportunity to enrich with intelligence |
includeBestPractices | boolean | Whether to include industry-specific best practices (default: true) |
includeCompetitiveIntel | boolean | Whether to include competitive intelligence analysis (default: false) |
find_similar_opportunities
Find opportunities similar to a reference opportunity or based on specific criteria. Includes pattern analysis and similarity scoring to identify market trends and success patterns.
| Parameter | Type | Description |
|---|---|---|
closeDateEnd | string | End date for close date range (YYYY-MM-DD) |
closeDateStart | string | Start date for close date range (YYYY-MM-DD) |
includeAnalysis | boolean | Whether to include pattern analysis and insights (default: true) |
industry | string | Filter by industry (e.g., "Information Technology & Services") |
isWon | boolean | Filter by won/lost status |
limit | number | Maximum number of results to return (default: 50) |
maxAmount | number | Maximum opportunity amount |
minAmount | number | Minimum opportunity amount |
referenceOpportunityId | string | Optional reference opportunity ID to find similar deals based on its characteristics |
stage | string | Filter by opportunity stage (e.g., "Closed Won", "Proposal") |
opportunity_insights
Generate detailed insights and analytics from opportunity data including pipeline health, performance metrics, industry trends, and strategic recommendations.
| Parameter | Type | Description |
|---|---|---|
includeConversionRates | boolean | Include stage conversion rate analysis (default: true) |
includeIndustryTrends | boolean | Include industry-specific performance trends (default: true) |
includeOwnerPerformance | boolean | Include individual owner performance metrics (default: true) |
includePipelineHealth | boolean | Include pipeline health and timing analysis (default: true) |
includeStageAnalysis | boolean | Include stage distribution and conversion analysis (default: true) |
industry | string | Filter analysis to specific industry |
maxAmount | number | Maximum opportunity amount for analysis |
minAmount | number | Minimum opportunity amount for analysis |
owner | string | Filter analysis to specific owner |
timeframe | string | Time period for analysis |
get_opportunity_details
Get detailed information about a Salesforce opportunity including all available fields (both standard and custom), related records, and metadata
| Parameter | Type | Description |
|---|---|---|
opportunityId * | string | The ID of the Salesforce opportunity to retrieve details for |
detail | string | Response detail level (default: full) |
fields | array | Explicit field names to return. Overrides intent if both provided. |
intent | string | Business intent — selects relevant fields automatically. Omit for all fields. |
search_opportunities
Search for Salesforce opportunities by name, account, and stage. Returns matching opportunities ordered by close date. Results include both standard and custom fields.
| Parameter | Type | Description |
|---|---|---|
accountNamePattern | string | Pattern to match in Account Name. Example: "Ford" will match opportunities for "Ford" or "Ford Motor Company". |
detail | string | Response detail level (default: summary) |
namePattern | string | Pattern to match in Opportunity Name. Example: "Github" will match "Github Migration" or "My Github Project". |
pageNumber | number | Page number to retrieve (default: 1) |
pageSize | number | Number of records per page (default: 25) |
stage | string | Exact match for opportunity stage. Common values: "Proposal", "Qualification", "Negotiation", "Closed Won", "Closed Lost". |
search_fields
Find the field(s) that carry a concept, when you know what you want to query but not the API name. Searches every scored field on the discovered objects — not just the promoted ones — across API names, labels, and help text, ranked by match strength. Searches the core objects by default; pass objectName to scope to one, which discovers it on demand. Set includeValues to get the value set for matched picklists, so you can write the WHERE clause without a second lookup. The match is lexical, not semantic: it finds fields whose name, label or help text contains the term, so a concept this org…
| Parameter | Type | Description |
|---|---|---|
term * | string | What to look for, matched against field API names, labels, and help text (e.g. "ai", "renewal date", "region") |
includeValues | boolean | Include the active value set for matched picklist fields (default: false). Free — the values come from metadata already discovered. |
limit | number | Maximum matches to return (default: 25, max: 100) |
minPopulationPct | number | Drop fields populated on fewer than this percent of records (0-100). Omit to include sparsely-populated fields, which is often where custom flags live. |
objectName | string | Restrict the search to one object (e.g. Opportunity). Omit to search all discovered core objects. |
execute_soql
Execute a SOQL query. Supports both standard and custom fields (custom fields end with __c in their API names). To see which fields this org actually populates on an object, read the `salesforce://field-catalog/{objectName}` resource — it is ranked, far smaller than a full schema, and works for any object. That catalog is a usage filter rather than a field list: standard fields remain queryable whether or not they appear in it. Use describe_object when you want an object's complete schema.
| Parameter | Type | Description |
|---|---|---|
query * | string | SOQL query to execute. For custom fields, use the API name (e.g., Project_Status__c) |
detail | string | Response detail level (default: summary) |
pageNumber | number | Page number to retrieve (default: 1) |
pageSize | number | Number of records per page (default: 25) |
describe_object
Get an object's full metadata, including every standard and custom field when includeFields is true. Returns the complete schema — exhaustive but unranked, and large on customised objects. To find out which fields this org actually populates, read `salesforce://field-catalog/{objectName}` instead; it is ranked and far smaller.
| Parameter | Type | Description |
|---|---|---|
objectName * | string | API name of the Salesforce object |
includeFields | boolean | Whether to include field metadata (default: false). When true, returns all available fields including custom fields, their types, and relationships. |
intent | string | Business intent — filters fields to only those relevant for this use case. |
pageNumber | number | Page number to retrieve when includeFields is true (default: 1) |
pageSize | number | Number of fields per page when includeFields is true (default: 50) |
create_record
Create a new record in Salesforce. Supports both standard and custom fields in the data object.
| Parameter | Type | Description |
|---|---|---|
data * | object | Record data as key-value pairs. For custom fields, use the API name with __c suffix (e.g., { "Name": "Test", "Custom_Field__c": "Value" }) |
objectName * | string | API name of the Salesforce object |
update_record
Update an existing record in Salesforce. Supports updating both standard and custom fields.
| Parameter | Type | Description |
|---|---|---|
data * | object | Record data to update as key-value pairs. For custom fields, use the API name with __c suffix (e.g., { "Custom_Field__c": "New Value" }) |
objectName * | string | API name of the Salesforce object |
recordId * | string | ID of the record to update |
delete_record
Delete a record from Salesforce
| Parameter | Type | Description |
|---|---|---|
objectName * | string | API name of the Salesforce object |
recordId * | string | ID of the record to delete |
get_user_info
Get information about the current user
download_file
Download a file from Salesforce. Accepts a ContentVersionId (068...) or ContentDocumentId (069...). Saves to a sandboxed workspace directory (default: ~/.local/share/salesforce-cloud-mcp/workspace/, configurable via SF_WORKSPACE_DIR). Text files (CSV, JSON, XML, TXT, etc.) also return content inline. Binary files return the saved path.
| Parameter | Type | Description |
|---|---|---|
contentId * | string | ContentVersionId (068...) or ContentDocumentId (069...). Find these by querying ContentDocumentLink: SELECT ContentDocumentId FROM ContentDocumentLink WHERE LinkedEntityId = '<recordId>' |
list_objects
List all available Salesforce objects, including both standard and custom objects
| Parameter | Type | Description |
|---|---|---|
pageNumber | number | Page number to retrieve (default: 1) |
pageSize | number | Number of objects per page (default: 25) |