# Which MCP tools and arguments read saved leads?

<a id="tools"></a>

These are MCP tool names and JSON arguments, not REST endpoints or shell commands. Your host may display a connector prefix. Use the tool definitions available in the connected session.

Canonical: https://sitehunter.io/docs/questions/mcp-read-reference

<a id="scope"></a>

## Before you start

MCP read tasks require a connected SiteHunter account and access to the referenced scan. Use the current connection guide for supported client setup.

<a id="tools-details"></a>

## Which MCP tools and arguments read saved leads?

- get_account: no arguments. Returns registered read capabilities and, when supplied, connected-account and data-provenance details. It is optional before saved reads. Registration does not establish execution eligibility.
- list_scans: offset and limit. Lists saved scans newest first. Start at offset 0 for the newest scan.
- get_scan_results: scanId, offset and limit. Returns accessible leads and pagination information for that saved scan.
- get_lead_details: scanId and leadId. Both IDs must come from accessible results; the lead is scoped to its scan.

The verified connection supplies the account. Do not add a user ID, account ID or arbitrary URL to these strict inputs. These four tools do not save leads, send outreach or change saved data.

For paginated reads, offset is an integer from 0 to 10000 (default 0); limit is an integer from 1 to 50 (default 10). Do not continue beyond a supported offset or claim an exhaustive read if a limit prevents completion. IDs are UUID strings.

Example arguments for list_scans:

```json
{"offset": 0, "limit": 10}
```

The next example uses a synthetic UUID to illustrate get_scan_results. Replace scanId with the actual ID returned by list_scans; the example ID does not identify a real scan.

```json
{"scanId": "00000000-0000-4000-8000-000000000001", "offset": 0, "limit": 10}
```

For get_lead_details, replace both synthetic IDs with IDs returned in the same accessible scan:

```json
{"scanId": "00000000-0000-4000-8000-000000000001", "leadId": "00000000-0000-4000-8000-000000000002"}
```

<a id="response"></a>

## How do I interpret an MCP scan-results response?

get_scan_results returns items and nextOffset. Use returned scan and presentation information when available. A lead may include leadId, name, website, opportunityScore and issues. Missing information remains unknown. A null opportunityScore does not mean zero.

Use presentation.page.order to interpret the returned order. Ranked results preserve the opportunity-score ranking fixed when the scan finished; equal scores do not imply a preference between tied businesses. Unranked results keep saved order, which may be custom. Compare known scores only among inspected rows and do not call a partial page the best leads in the whole scan.

History-backed results follow current access and visibility rules. A finalized scan can instead return an immutable saved result with nativeCurrentStateParity: false. Its membership and order need not match the current History view. Keep that provenance when summarizing or exporting.

The text summary may display only the first 10 leads while structuredContent contains the delivered page. If a results panel offers Show all, it expands that page; it does not fetch the next page or unlock more leads. Panel availability depends on your AI app and connection.

Locked rows are not hidden fields available for export. Export only the authorized records and fields actually returned, retaining unknown values, page scope and provenance.

Read-tool failures can return isError with structuredContent.error set to NOT_FOUND or UNAVAILABLE. NOT_FOUND means the scan or lead is unavailable to this connection; it does not reveal whether another account owns it. UNAVAILABLE means the data could not be loaded. Stop automatic retries; try the same read later when appropriate, without substituting a new scan.

[Result meanings and limitations](https://sitehunter.io/docs/results)

[Access and read recovery](https://sitehunter.io/docs/recovery)

<a id="next"></a>

## Next steps

[Read the full guide: MCP guide](https://sitehunter.io/docs/mcp)

[Find another answer](https://sitehunter.io/docs/questions)
