Skip to main content
Glama
semwalajay83-sem

salesforce-metadata-mcp

Create Sandbox

sf_create_sandbox

Creates a new Salesforce sandbox via the Tooling API, supporting Developer, Developer Pro, Partial Copy, and Full types. Optionally runs an Apex class after copy; creation is asynchronous, so monitor status.

Instructions

Creates a new sandbox org via the Tooling API (SandboxInfo object). Supports Developer, Developer Pro, Partial Copy, and Full sandbox types. Optionally specify an Apex class to run after the sandbox copy completes. The sandbox creation is asynchronous — use sf_list_sandboxes to monitor the status.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
apexClassIdNoApex class ID to run after sandbox copy
descriptionNoDescription
licenseTypeYesSandbox license type
sandboxNameYesSandbox name (max 10 chars, alphanumeric)
autoActivateNoAutomatically activate the sandbox after creation
Behavior4/5

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

Adds valuable behavioral context beyond annotations: the creation is asynchronous and requires monitoring via a sibling tool. Also discloses the use of Tooling API and optional Apex class execution. No contradiction with annotations exists.

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?

Three concise, front-loaded sentences. The first sentence states the core action and API, the second lists supported types, and the third explains asynchronous behavior with a pointer to the monitoring tool. No wasted words.

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?

For a creation tool with no output schema, the description covers the essential workflow: what it creates, supported types, optional Apex class, and async monitoring. It does not mention prerequisites like Dev Hub access or return value details, but the guidance to use sf_list_sandboxes fills the main gap.

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?

Schema has 100% coverage with descriptive parameter docs, so baseline is 3. The description mentions sandbox types and optional Apex class, but these are already clear in the schema. It does not add significant new meaning beyond the schema.

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?

Clearly states it creates a new sandbox org via the Tooling API (SandboxInfo object), listing supported types. The verb 'creates' plus the resource and API uniquely identify the action, distinguishing it from refresh/monitor siblings.

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?

Explicitly directs users to sf_list_sandboxes for monitoring the asynchronous creation. Provides clear context for when to use the tool, but does not discuss when not to use it or mention alternatives like sf_refresh_sandbox for existing sandboxes.

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