Skip to main content
Glama
semwalajay83-sem

salesforce-metadata-mcp

Bulk Insert Records (Bulk API 2.0)

sf_bulk_insert_records

Insert multiple Salesforce records asynchronously using Bulk API 2.0. Supports upsert via external ID and returns a job ID for tracking.

Instructions

Inserts multiple records of the same object type asynchronously using Salesforce Bulk API 2.0. More efficient than individual REST calls for large volumes. Returns a job ID to track status.

objectApiName: Salesforce object API name records: array of record objects with field:value pairs externalIdField: if provided, performs an upsert on this external ID field instead of insert

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
recordsYesArray of records to insert (field:value pairs)
objectApiNameYesObject API name, e.g. 'Contact'
externalIdFieldNoExternal ID field for upsert (omit for insert)
Behavior4/5

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

Annotations already indicate mutating behavior (readOnlyHint=false, idempotentHint=false) and non-destructive nature. The description adds valuable context: asynchronous execution, returns a job ID for status tracking, and upsert behavior when externalIdField is provided. This goes beyond the structured annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is compact and front-loaded with the core purpose. The parameter list duplicates schema information but is brief and does not detract significantly. Slightly redundant, but efficient overall.

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 description covers the method, efficiency trade-off, async behavior, and job ID return. It does not explain tracking mechanics or error handling, but no output schema is expected. Given the moderate complexity and available annotations, it is largely complete.

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 coverage is 100%, so the baseline is 3. The description repeats parameter names and adds brief clarifications (e.g., externalIdField 'performs upsert instead of insert'), but this largely mirrors the schema descriptions. No significant additional meaning is provided 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?

The description clearly states the tool inserts multiple records asynchronously via Bulk API 2.0. It specifies the resource (records of an object type) and method (bulk insert), distinguishing it from individual REST calls by noting efficiency for large volumes.

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 indicates use for large volumes ('More efficient than individual REST calls for large volumes') and notes the async nature with job ID tracking. It does not explicitly name alternative tools or exclusion criteria, but the guidance is clear for typical bulk-load scenarios.

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