sf_top_campaigns

Rank Salesforce campaigns by a chosen metric: 'responses' (NumberOfResponses), 'opportunities' (NumberOfOpportunities), or 'won_revenue' (AmountWonOpportunities). Optionally filter by date range. Returns the top N campaigns sorted by the selected metric descending.

Server Salesforce Marketing salesforce-marketing-mcp
Category Read
Risk class Low
Parameters 41 required

What sf_top_campaigns does on Salesforce Marketing

AI agents call sf_top_campaigns to retrieve information from Salesforce Marketing without modifying anything — typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.

ParameterTypeRequiredDescription
limit integer
dateTo string
metric string Yes
dateFrom string

Parameters from the server's own tool schema.

Why sf_top_campaigns needs a policy

This is a read-only query tool that retrieves and ranks campaign data by specified metrics (responses, opportunities, or revenue). It performs no data modification, deletion, code execution, or financial transactions. The optional date range filtering is a standard query parameter. Blast radius is minimal—misuse would only expose campaign performance information already accessible to the user's Salesforce role.

From the tool's definition Tool description states it 'Rank[s] Salesforce campaigns' and 'Returns the top N campaigns sorted by the selected metric' — purely a retrieval and aggregation operation with no modification, deletion, or execution of code.

Questions about sf_top_campaigns

What does the sf_top_campaigns tool do? +

Rank Salesforce campaigns by a chosen metric: 'responses' (NumberOfResponses), 'opportunities' (NumberOfOpportunities), or 'won_revenue' (AmountWonOpportunities). Optionally filter by date range. Returns the top N campaigns sorted by the selected metric descending. It is categorised as a Read tool in the Salesforce Marketing MCP Server, which means it retrieves data without modifying state.

What parameters does sf_top_campaigns accept? +

sf_top_campaigns accepts 4 parameters: limit, dateTo, metric, dateFrom. Required: metric. The full parameter table on this page comes from the server's own tool schema.

How do I enforce a policy on sf_top_campaigns? +

Register the Salesforce Marketing MCP server in PolicyLayer and add a rule for sf_top_campaigns: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Salesforce Marketing. Nothing to install.

What risk level is sf_top_campaigns? +

sf_top_campaigns is a Read tool with low risk. Read-only tools are generally safe to allow by default.

Can I rate-limit sf_top_campaigns? +

Yes. Add a rate_limit block to the sf_top_campaigns rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.

How do I block sf_top_campaigns completely? +

Set action: deny in the PolicyLayer policy for sf_top_campaigns. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.

What MCP server provides sf_top_campaigns? +

sf_top_campaigns is provided by the Salesforce Marketing MCP server (salesforce-marketing-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

// LOOK UP ANOTHER SERVER

Every MCP server has a record like this.

Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.