forcedotcom / forcedotcom/mcp-hosted

[Question]: Does the soqlQuery tool in sobject-all support fetching archived records (queryAll / ALL ROWS)?

Open
#42 0 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
No language data
Stars
135
Forks
20
PR merge metrics
No merged PRs in 30d

Description

### Your question

Hi team,

I am looking into using the Hosted MCP Server for Salesforce, specifically the sobject-all template.

I would like to know if the soqlQuery tool supports fetching archived activities, such as Tasks or Events where IsArchived = true.

Since the standard Salesforce REST API requires using the queryAll endpoint or adding the ALL ROWS keyword to retrieve archived records, I am wondering how this tool behaves internally:

Does the soqlQuery tool use the queryAll API endpoint under the hood?

Can we include the ALL ROWS keyword in the SOQL query passed to the tool?

The reference documentation (https://developer.salesforce.com/docs/platform/hosted-mcp-servers/references/reference/sobject-all.html) mentions supporting WHERE and LIMIT clauses, but does not explicitly state whether archived records can be retrieved.

Any insights or guidance on how to fetch archived records using this MCP server would be highly appreciated.

### Context

_No response_

### Environment

_No response_

Contributor guide

Open the contributing guide

Research direction

Start with the sobject-all reference documentation linked in the issue, then trace the soqlQuery tool behavior in the Hosted MCP Server implementation. Determine whether archived records and the queryAll endpoint or ALL ROWS syntax are supported, and document the confirmed usage or limitation in the relevant reference documentation.

Written by the indexing model from the issue text.

Assessment

Domain
documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.