Skip to main content
Glama
semwalajay83-sem

salesforce-metadata-mcp

Activate Flow Version

sf_activate_flow
Idempotent

Activates a specific Flow version via the Tooling API, making it the active version and automatically deactivating the previous active one. Use after listing versions to control which Flow version is live.

Instructions

Activates a specific Flow version (or the latest version) via the Tooling API. Only one version of a flow can be active at a time — activating a new version automatically deactivates the previous active version. Use sf_list_flow_versions to discover available versions before activating.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
flowApiNameYesFlow API name
versionNumberNoVersion number to activate (defaults to latest)
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

The description discloses the key side effect: activating a new version automatically deactivates the previous active version. This goes beyond the annotations (which only indicate it's a write and idempotent) and provides important behavioral context.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two concise sentences that front-load the purpose and end with a related-tool pointer. Every sentence earns its place, with no repetition or unnecessary detail.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple 2-parameter tool with annotations and no output schema, the description covers the action, side effect, and prerequisite discovery step. An agent has sufficient context to select and invoke the tool correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema already covers both parameters with 100% description coverage, including the default behavior of versionNumber. The description's mention of 'or the latest version' reinforces the schema but adds no new semantic information.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool activates a specific Flow version via the Tooling API, naming the action and resource. It also notes the one-active-version constraint, distinguishing it from related tools like sf_deactivate_flow or sf_list_flow_versions.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly directs users to first run sf_list_flow_versions to discover available versions, providing a clear workflow and prerequisite. It also explains the consequence of activating (auto-deactivating the previous version), which helps agents decide when to use this tool.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

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/semwalajay83-sem/salesforce-metadata-mcp'

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