Skip to main content
Glama

String Web Access

Check a crawl and read its URLs

web_access_sitemap_status
Read-onlyIdempotent

Poll a crawl job until it is terminal; the terminal response also carries the URLs it discovered. Statuses: awaiting_approval → running → terminal completed | failed | canceled | token_cap_exceeded (budget hit before maxPages; collected results are still readable). While running it returns pending and processed counts and no URLs; a partial_state status means an interrupted start — call web_access_sitemap_start again to repair it. Poll every few seconds for small crawls; give hundreds-of-pages crawls tens of seconds between polls.

Once the job is terminal, the response carries total and urls, one page of the discovered URLs. Optional limit and offset choose the page, within the bounds the input schema states. Each entry has url, statusCode (0 = discovered but not fetched), depth, parentUrl, isSitemap, sourceType, and an error when that page failed. discoveredUrls (links found on the page) is only present for ~1h after completion; afterwards results come from durable storage which omits it — everything else stays available.

Requires jobId. A 404 means the job doesn't exist or belongs to another account. If the job is terminal but its URLs cannot be read, the call fails rather than return the status without them; call it again.

Returns: the jobId and status, with pending, processed, pagesProcessed, estimatedCostUsd, errorMessage and finishedAt as the job reports them, and total and urls once it is terminal.

Next: call again with offset advanced by the page size until it reaches total; read a page's content with web_access_fetch.

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": {
      "jobId": "<jobId>"
    },
    "name": "web_access_sitemap_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
jobIdYesThe jobId web_access_sitemap_quote returned.
limitNoOnce the job is terminal: how many of its URLs one urls page holds. Omit for 1000.
offsetNoOnce the job is terminal: how many URLs to skip, to page through urls. Advance it by the page size until it reaches total.

Output Schema

NameRequiredDescriptionDefault
urlsNoOnce the job is terminal: one page of the URLs it discovered, starting at offset.
jobIdYesThe crawl job's id.
totalNoOnce the job is terminal: how many URLs it discovered. Page with offset until it reaches total.
statusYesThe job's state: awaiting_approval, running, then a terminal completed, failed, canceled or token_cap_exceeded; partial_state means an interrupted start, which calling web_access_sitemap_start again repairs.
pendingNoPages discovered and waiting to be fetched, while the crawl runs.
processedNoPages fetched so far, while the crawl runs.
finishedAtNoWhen the job reached its terminal state, once it has.
errorMessageNoWhy the crawl failed, when it did.
pagesProcessedNoHow many pages the crawl fetched, when the job reports a count.
estimatedCostUsdNoThe quoted cost in USD, while the job reports it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), and the description adds substantial behavior beyond them: the full status lifecycle, what `token_cap_exceeded` means for result availability, that running jobs return counts but no URLs, the ~1h TTL on `discoveredUrls`, that a 404 means missing or cross-account, and that an unreadable-URL terminal job fails rather than returning status alone. This is unusually rich disclosure for a read tool.

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?

Front-loaded with the core action and lifecycle, and the block structure (statuses, results, errors, Returns, Next) aids scanning. It is long and the **Returns:** block restates facts already given in the prose (terminal `total`/`urls`, `jobId`/`status`), which is mild redundancy rather than waste.

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

Completeness5/5

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

An output schema exists, yet the description still supplies the interpretation an agent needs — status transitions, when URL fields appear, and the ephemeral `discoveredUrls` caveat that a schema alone would not convey. Nothing needed to call or continue polling is missing.

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 coverage is 100%, so the baseline is 3, but the description adds real semantics: `limit`/`offset` only take effect once the job is terminal and are paging controls over the discovered-URL list, with the offset-advance-to-total rule restated as a procedure. It stops short of adding format or bounds detail beyond what the schema already declares.

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?

States a specific verb and resource: "Poll a crawl job until it is terminal; the terminal response also carries the URLs it discovered." This distinguishes it immediately from web_access_sitemap_start (which creates the job) and web_access_fetch (which reads page content), so an agent can route correctly without opening a schema.

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

Usage Guidelines5/5

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

Gives explicit cadence guidance ("Poll every few seconds for small crawls; give hundreds-of-pages crawls tens of seconds between polls"), names the repair path for `partial_state` ("call web_access_sitemap_start again"), and states the continuation rule ("call again with `offset` advanced by the page size until it reaches `total`"). Alternatives and handoffs to web_access_fetch are named explicitly.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.