sf_list_campaigns

List Salesforce Campaign records sorted by last modified date. Filter by Status (e.g. 'Planned', 'Active', 'Completed'), Type (e.g. 'Email', 'Webinar', 'Event'), or activeOnly=true. Returns name, type, status, dates, member counts, and cost fields.

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

What sf_list_campaigns does on Salesforce Marketing

AI agents call sf_list_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
type string Campaign Type (e.g. Email, Webinar)
limit integer
status string Campaign Status (e.g. Active, Completed)
activeOnly boolean

Parameters from the server's own tool schema.

Why sf_list_campaigns needs a policy

This tool only retrieves and filters existing campaign data without creating, modifying, deleting, or executing operations. It has no side effects and presents minimal risk if misused by an agent, as it only exposes campaign metadata already accessible within Salesforce. The blast radius is limited to information disclosure of campaign details.

From the tool's definition Tool performs 'List Salesforce Campaign records' with filters and returns metadata fields (name, type, status, dates, member counts, cost). No modification or deletion occurs—purely retrieval and querying.

Questions about sf_list_campaigns

What does the sf_list_campaigns tool do? +

List Salesforce Campaign records sorted by last modified date. Filter by Status (e.g. 'Planned', 'Active', 'Completed'), Type (e.g. 'Email', 'Webinar', 'Event'), or activeOnly=true. Returns name, type, status, dates, member counts, and cost fields. 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_list_campaigns accept? +

sf_list_campaigns accepts 4 parameters: type, limit, status, activeOnly. The full parameter table on this page comes from the server's own tool schema.

How do I enforce a policy on sf_list_campaigns? +

Register the Salesforce Marketing MCP server in PolicyLayer and add a rule for sf_list_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_list_campaigns? +

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

Can I rate-limit sf_list_campaigns? +

Yes. Add a rate_limit block to the sf_list_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_list_campaigns completely? +

Set action: deny in the PolicyLayer policy for sf_list_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_list_campaigns? +

sf_list_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.