Skip to main content
Glama
usama-dtc
by usama-dtc

salesforce_manage_field

Create or modify custom fields on Salesforce objects, including types like Text, Picklist, Lookup, and Master-Detail, with configurable properties such as Required, Unique, and External ID. Manage metadata changes efficiently with proper permissions.

Instructions

Create new custom fields or modify existing fields on any Salesforce object:

  • Field Types: Text, Number, Date, Lookup, Master-Detail, Picklist etc.

  • Properties: Required, Unique, External ID, Length, Scale etc.

  • Relationships: Create lookups and master-detail relationships Examples: Add Rating__c picklist to Account, Create Account lookup on Custom Object Note: Changes affect metadata and require proper permissions

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
deleteConstraintNoDelete constraint for Lookup fields
descriptionNoDescription of the field
externalIdNoWhether the field is an external ID
fieldNameYesAPI name for the field (without __c suffix)
labelNoLabel for the field
lengthNoLength for text fields
objectNameYesAPI name of the object to add/modify the field
operationYesWhether to create new field or update existing
picklistValuesNoValues for Picklist/MultiselectPicklist fields
precisionNoPrecision for numeric fields
referenceToNoAPI name of the object to reference (for Lookup/MasterDetail)
relationshipLabelNoLabel for the relationship (for Lookup/MasterDetail)
relationshipNameNoAPI name for the relationship (for Lookup/MasterDetail)
requiredNoWhether the field is required
scaleNoScale for numeric fields
typeNoField type (required for create)
uniqueNoWhether the field value must be unique

Other Tools

Related 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/usama-dtc/salesforce_mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server