---
name: agentfrendly-scan
description: Use when the user asks whether a website is ready for AI agents, wants its agent readiness score, or wants to fix what keeps AI tools from finding, reading or using it (llms.txt, robots.txt, sitemap, OpenAPI, MCP server, docs). Calls the free Agent Frendly scan API at agentfrendly.com; no account is needed.
---

# Scan a site for agent readiness with Agent Frendly

The Agent Readiness Test reads a site's public pages and reports whether AI tools can find it, understand it and connect to the product. It never signs in, never calls the product's API, and uses no AI. This is separate from agent runs, which need the user's API key (see the `agentfrendly-runs` skill).

## Run a scan

```sh
curl -sS https://agentfrendly.com/api/scan \
  -H 'Content-Type: application/json' \
  -d '{"url":"https://your-product.com"}'
```

- Only the homepage of the URL is scanned; any path, query or fragment is ignored. A scan takes up to about 20 seconds.
- 5 scans per minute per IP address. On `429`, wait the seconds in `Retry-After`.
- Call it from a script or the command line. Browsers on other websites get `403`. A missing `Content-Type: application/json` gets `415`. A URL that is not a public website gets `400`.
- The same scan is the `scan_site` tool of the MCP server at `https://agentfrendly.com/mcp`; it needs no key either.
- Only scan sites the user owns or may check.
- Full schema: `https://agentfrendly.com/openapi.json`.

## Read the report

A `200` response has:

- `score`: 0 to 100, or `null` when an essential check could not be completed.
- `checks`: one per check, with `id`, `status` (`pass`, `partial`, `fail`, `unverified`), `evidence` and a `recommendation`. `unverified` means something blocked the check; it is not a failure.
- `limitations`: what the scan could not see.
- `fixPrompt`: instructions for a coding agent that fix every gap, most important first.

## Fix the gaps

1. Run the scan and list the checks that are not `pass`, with their evidence.
2. Use `fixPrompt` as the plan. It contains no text from the scanned site. Even so, read the changes before you make them.
3. Change the repository, then scan the deployed site again. A scan reads the live site, so a local change shows up only after it is deployed.
4. One clear, documented way in (an API, an MCP server or a command-line tool) is enough; do not add all three.
