Skip to main content
Glama
semwalajay83-sem

salesforce-metadata-mcp

Create Remote Site Setting

sf_create_remote_site_setting
Idempotent

Salesforce blocks outbound HTTP by default; create a Remote Site Setting to allow Apex callouts to an external URL.

Instructions

Creates a Remote Site Setting to allow an external URL for Apex callouts. Salesforce blocks outbound HTTP calls by default — adding a Remote Site Setting allows Apex code to call that URL. Required for any external API callout from Apex or Flows. Use with sf_create_named_credential for authenticated callouts.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesURL to allow for callouts, e.g. 'https://api.example.com'
nameYesDisplay name
fullNameYesRemote site setting API name
isActiveNoWhether this remote site setting is active
descriptionNoDescription of why this site is trusted
disableProtocolSecurityNoDisable protocol security (not recommended)
Behavior4/5

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

Annotations already indicate a non-read-only, idempotent write operation. Description adds useful context about Salesforce blocking outbound HTTP by default and the role of this setting, without contradicting annotations.

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 sentences, each with a purpose: action, motivation, and usage note. No redundant 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?

Simple tool with full schema coverage and annotations. Description explains the broad context and relationship to named credentials, making it adequately complete for the tool's complexity.

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 covers all 6 parameters with descriptions, so the description doesn't need to add parameter details. It adds no extra parameter semantics 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?

Description clearly states it creates a Remote Site Setting to allow external URLs for Apex callouts, distinguishing it from generic create tools and noting its role in enabling outbound calls.

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 states it's required for any external API callout from Apex or Flows, and recommends pairing with sf_create_named_credential for authenticated callouts, giving clear when-to-use guidance.

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