Skip to main content
Glama
hypn4

Salesforce MCP Server

by hypn4

salesforce_bulk_query

Run asynchronous SOQL queries for large Salesforce data sets, returning all matching records even when results exceed 2,000.

Instructions

Execute a bulk query for large data sets.

Use this for queries that may return more than 2,000 records. The Bulk API is optimized for large data volumes and runs asynchronously.

Args: sobject: SObject type being queried (e.g., 'Account', 'Contact') soql: SOQL query string

Returns: List of all matching records

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
soqlYes
sobjectYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral disclosure burden. It does disclose that the Bulk API is asynchronous and optimized for large volumes, which are important traits. However, it does not explain what 'asynchronous' means for the caller—whether it returns a job ID, whether it polls to completion, or how results are delivered—and simply says 'Returns: List of all matching records,' which could be misleading if results are not returned synchronously.

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?

The description is compact and well organized: a one-line summary, a usage condition, an important behavioral note, and clearly labeled Args/Returns sections. Every sentence contributes useful information, and the key usage threshold is front-loaded.

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 two-parameter tool with an output schema available, the description covers the essential invocation details: what to pass, when to use it, and what to expect back. The main gap is the incomplete elaboration of asynchronous behavior and result retrieval, which is relevant for an agent deciding whether to call this versus a simpler tool.

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 description coverage is 0%, so the description must compensate for the bare input schema. It does so by defining 'sobject' with a concrete example ('Account', 'Contact') and 'soql' as a SOQL query string. This gives the agent enough meaning to invoke the tool correctly, though it could add more detail about SOQL expectations or validation.

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 executes a bulk query for large data sets, names the specific resource (Bulk API), and distinguishes it from the regular salesforce_query by the 2,000-record threshold. An agent can tell exactly what this tool does and how it differs from its 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?

The description gives a concrete selection criterion: use this for queries that may return more than 2,000 records. This effectively tells the agent when to prefer this over the standard query tool. It does not explicitly name alternative tools or mention when not to use it, but the threshold provides clear contextual guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

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/hypn4/salesforce-mcp-server'

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