Skip to main content
Glama
semwalajay83-sem

salesforce-metadata-mcp

Activate OmniStudio FlexCard

sf_activate_flexcard
Idempotent

Activate an existing OmniStudio FlexCard to make it visible on Lightning pages and Experience Cloud sites by redeploying it with isActive=true.

Instructions

Activates an OmniStudio FlexCard so it is visible on Lightning pages and Experience Cloud sites.

Reads the existing FlexCard definition and redeploys it with isActive=true. The card must already exist (created with sf_create_flexcard).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cardNameYesAPI name of the FlexCard to activate
Behavior4/5

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

Annotations indicate a non-read-only, idempotent, non-destructive operation. The description adds useful behavioral context by explaining the internal process ('Reads the existing FlexCard definition and redeploys it with isActive=true') and the outcome (visibility on Lightning pages and Experience Cloud). This goes beyond the basic annotation hints without contradicting them.

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 exceptionally concise: two short sentences that front-load the core purpose, followed by a clarifying mechanism and prerequisite. Every sentence earns its place with no redundancy or filler.

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

Completeness4/5

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

Given the tool's simplicity (one parameter, no output schema), the description covers the primary purpose, the effect, and a key prerequisite. Annotations provide safety and idempotency context. It could mention what happens if the card is already active, but the idempotentHint mitigates that gap. Overall, it is sufficiently complete for an agent to invoke 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 input schema fully covers the single parameter cardName with a clear description ('API name of the FlexCard to activate'). The description adds the prerequisite that the card must already exist, but this is more of a usage guideline than parameter semantics. With 100% schema coverage, the baseline of 3 is appropriate.

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 specific action ('Activates an OmniStudio FlexCard') and the effect ('visible on Lightning pages and Experience Cloud sites'). It also explains the mechanism (reads existing definition and redeploys with isActive=true). This distinguishes it from sibling tools like sf_create_flexcard (creation) and sf_update_flexcard (modification).

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

Usage Guidelines4/5

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

The description provides clear contextual guidance: the card must already exist and be created with sf_create_flexcard, implying this tool is for subsequent activation rather than initial creation. However, it does not explicitly contrast with alternatives like sf_update_flexcard or state when not to use it.

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