Skip to main content
Glama

Run site audit

run_site_audit

Start a site audit: crawls the site (robots.txt-aware, same-origin), checks every page for SEO issues (broken links, duplicate/missing titles and descriptions, redirect chains, orphan pages, canonical problems, thin content, and more), and optionally runs Lighthouse on a sample of pages. Runs in the background — poll get_audit_status, then read get_audit_issues. Uses no usage credits (governed by your plan's audit page capacity, not the credit balance). If the site rate limits the crawler it slows down and retries; pages it still cannot read are honestly flagged as blocked or rate-limited rather than misreported.

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": {
      "projectId": "<projectId>",
      "url": "<url>"
    },
    "name": "run_site_audit"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesStart URL to crawl.
maxPagesNoPage budget for the crawl (default 50).
projectIdYesRequired. The FastestRank project ID to scope this call to. Get one from list_projects.
runLighthouseNoRun Lighthouse on a sample of up to 10 representative pages (default false — it adds several minutes of wall-clock time). Pass true only when the user wants performance/Core Web Vitals detail.

Output Schema

NameRequiredDescriptionDefault
metaNo
auditIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Goes well beyond the annotations: background/asynchronous execution with a polling pattern, no credit consumption but plan-capacity governance, degrading behavior under site rate limits with retries, and honest flagging of blocked/rate-limited pages. That is exactly the operational context an agent needs to set expectations for the user. One nuance: openWorldHint=false is arguable for a tool that fetches external pages, though the stated same-origin scoping keeps it bounded enough that I do not treat it as a hard contradiction.

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 action, then scope, then lifecycle, then cost and failure behavior — a sensible ordering with no filler sentences. It is one dense paragraph rather than segmented, and the long parenthetical feature list could be tightened, but every clause carries information.

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?

Covers initiation, asynchronous lifecycle, the two siblings needed to retrieve results, cost model, and failure handling. An output schema exists, so return-value detail is appropriately omitted. Nothing an agent needs to invoke this correctly is missing.

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 url, maxPages, projectId, and runLighthouse are already documented including the default-50 page budget and the Lighthouse sample-of-10 caveat. The description's mention of optional Lighthouse runs echoes the schema rather than adding new parameter-level meaning. Baseline 3 is appropriate when the schema already carries the load.

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 ("Start a site audit") and immediately enumerates scope: robots.txt-aware, same-origin crawl, SEO checks (broken links, duplicate/missing titles, redirect chains, orphan pages, canonical issues, thin content), optional Lighthouse. This is far more than a restatement of the name and lets an agent distinguish it from read-side siblings like get_audit_issues or get_audit_pages.

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?

Explicitly gives the follow-up workflow: 'poll get_audit_status, then read get_audit_issues', which tells the agent this is an async kickoff and names the correct siblings to use afterward. It also scopes cost expectations (no usage credits, governed by plan audit page capacity). It stops short of saying when NOT to run an audit or how this relates to any other audit-producing sibling, so it's strong but not a full 5.

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.