Skip to main content
Glama
salesforce-mcp

salesforce-mcp

by uoparaji

salesforce_query_more

Fetch the next batch of Salesforce query results using nextRecordsUrl to manually paginate through records beyond the initial response.

Instructions

Fetch the next batch of results from a previous query using the nextRecordsUrl. Useful for manual pagination.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "nextRecordsUrl": "<nextRecordsUrl>"
    },
    "name": "salesforce_query_more"
  }
}

Input Schema

NameRequiredDescriptionDefault
nextRecordsUrlYesThe nextRecordsUrl returned from a previous query result

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations exist, so the description carries the full burden; it implies a read-only fetch and adds that pagination is manual, but says nothing about expired or invalid nextRecordsUrl handling, whether a subsequent nextRecordsUrl may be returned, or when the result set ends.

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?

Two short sentences, front-loaded with the action and the mechanism in play; no padding. The trailing 'useful for manual pagination' is slightly vague but does add orientation.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a one-parameter read tool with a fully documented schema, the essentials are present, but an agent still lacks the precondition (must follow a result with nextRecordsUrl) and termination behavior for the pagination loop.

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 description coverage is 100%, so the single parameter is already documented. The description restates that the URL comes from a previous query result without adding format, lifetime, or validation detail beyond the schema, so baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource: fetching the next batch of results from a previous query via nextRecordsUrl. It is distinguishable from salesforce_query (which starts a query) by the phrase 'previous query', though no sibling is named explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

'Useful for manual pagination' implies the context in which to reach for it, but there is no explicit instruction such as 'call only after salesforce_query returns done=false' and no mention of when to prefer salesforce_query_all instead, which is the obvious alternative for automatic pagination.

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