Skip to main content
Glama
semwalajay83-sem

salesforce-metadata-mcp

Add Components to Change Set

sf_add_to_change_set
Idempotent

Add metadata components (objects, Apex classes, flows) to an existing outbound change set, preparing them for deployment.

Instructions

Adds one or more metadata components to an existing Outbound Change Set by change set name. Supports all metadata types: CustomObject, CustomField, ApexClass, ApexTrigger, Flow, ValidationRule, PermissionSet, etc. Use after creating a change set to add the metadata you want to deploy.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
componentsYesComponents to add
changeSetNameYesName of the existing outbound change set
Behavior3/5

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

Annotations already convey the read/write nature (readOnlyHint: false) and idempotency (idempotentHint: true), so the description does not need to restate those. It adds the prerequisite that the change set must already exist and indicates broad metadata type support, which is helpful. However, it does not describe what happens if the change set is missing, whether duplicate additions are ignored, or if the operation appends or replaces components.

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 sentences long, front-loaded with the primary action and immediately followed by usage context. The list of metadata types is illustrative without being exhaustive, and every sentence earns its place. There is no fluff.

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 moderate complexity of the tool, the description is complete enough: it states what it does, when to use it, and what inputs are relevant. It lacks return-value details, but there is no output schema and the focus is on a mutation action. The sibling set includes sf_create_outbound_change_set, and the description correctly positions this tool as the follow-up step.

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 already has 100% coverage with descriptions for changeSetName, components, name, and type. The description adds minor context like 'existing' and 'by change set name', but does not meaningfully enrich parameter semantics beyond the schema. The baseline of 3 is appropriate because the schema carries the weight.

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 verb 'Adds' and the resource 'one or more metadata components to an existing Outbound Change Set by change set name'. It also enumerates common metadata types, making the scope concrete. This distinguishes it from siblings like sf_create_outbound_change_set, which creates a change set rather than populating one.

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 explicitly says 'Use after creating a change set', which gives a clear temporal context and situates it in the deployment workflow. It does not explicitly name alternative tools for deployment or creation, so it stops short of a full 5, but the guidance is practical and unambiguous.

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