Skip to main content
Glama
semwalajay83-sem

salesforce-metadata-mcp

Create Auth Provider

sf_create_auth_provider
Idempotent

Create an Auth Provider in Salesforce for SSO or social login via Metadata API, supporting OpenID Connect, Facebook, Google, GitHub, Salesforce, and Custom providers.

Instructions

Creates an Auth Provider in Salesforce for SSO or social login via the Metadata API. Supports OpenID Connect, Facebook, Google, GitHub, Salesforce, and Custom providers. Provide the consumer key and secret from the external identity provider. Optionally specify an Apex registration handler class for custom user provisioning logic.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
consumerKeyYesConsumer key / client ID
friendlyNameYesDisplay name
providerNameYesAuth provider API name
providerTypeYesProvider type
defaultScopesNoDefault OAuth scopes
consumerSecretYesConsumer secret / client secret
customErrorUrlNoCustom error URL
registrationHandlerNoApex class name for registration handler
Behavior3/5

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

Annotations already signal readOnly=false, idempotent=true, etc. The description adds context about Metadata API usage and supported providers but does not disclose potential side effects, conflict behavior, or deployment details. This is adequate but not rich. No contradiction with 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, front-loaded with purpose, no filler. Each sentence earns its place: what it does, supported types, key inputs/options.

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?

The tool has 8 parameters and no output schema. The description covers the essential context: purpose, provider types, required credentials, and optional handler. While it doesn't describe return values or additional optional params (defaultScopes, customErrorUrl), the schema covers those, so the description is reasonably complete.

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

Parameters4/5

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

Schema coverage is 100%, but the description adds meaning by explaining the purpose of consumerKey/consumerSecret ('from the external identity provider') and registrationHandler ('custom user provisioning logic'). It reinforces the providerType enum without being redundant.

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 states a specific verb ('Creates') and resource ('Auth Provider in Salesforce') and clarifies the purpose (SSO or social login via Metadata API). It lists supported provider types, distinguishing it from other creation tools in the sibling set.

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 clearly indicates when to use this tool ('for SSO or social login') and specifies the input requirements ('Provide the consumer key and secret'). However, it does not explicitly mention alternatives or when not to use it, though the context is strong enough.

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