← Back to the report
Agent Readiness

Trainline

trainline.com · Travel & Hospitality

70
Readiness /100
19
Checks passed
1
Checks failed
68
Checks run

Discoverability

Can agents find your site and its capabilities?

failWebMCP / agent-protocol tools discoveredAgent manifests

The page registers no tools via the WebMCP browser API (navigator.modelContext).

Fix: Expose your actions to AI agents with the WebMCP browser API: register tools via navigator.modelContext.registerTool. Optionally also publish a /.well-known/webmcp.json tool catalog as a discovery signpost.

pass/llms.txt guide for AI agentsAgent manifests

Found https://trainline.com/llms.txt.

pass/llms.txt lists key pages as markdown linksAgent manifests

Found at least one "[name](url)" markdown link.

pass/llms.txt has a summary blockquoteAgent manifests

Found a "> summary" blockquote.

pass/llms.txt opens with an H1 titleAgent manifests

First line is a top-level "# Title" heading.

passKey pages discoveredKey pages crawl

Crawled 12 of 12 discovered pages beyond the homepage.

infoWebsite platformplatform

Could not identify a known website platform (custom stack or unrecognised).

Understanding

Can agents understand your content?

warnMarkdown content negotiationOpen agent protocols

Homepage ignored Accept: text/markdown and returned HTML.

Fix: Serve a markdown version of high-value pages when the client asks for text/markdown. AI summarisers, chatbots and IDE agents prefer markdown — fewer tokens, no DOM noise.

warnImages have explicit dimensionsStructured data & HTML

Only 0/3 images have width+height — large CLS risk.

Fix: Set width and height on every <img> so the browser reserves space before the image loads. A layout that shifts while loading makes an AI agent mis-click the element it targeted.

warnSemantic landmark elementsStructured data & HTML

Missing landmark elements: footer.

warnKey pages have <title> and <h1>Key pages crawl

6 of 12 pages are missing <title> and/or <h1>: /de, /nl, /nb, /da, /sv, /pt-br.

Fix: Make sure every page sets a unique <title> and exactly one <h1>. The title is how an AI agent confirms it landed on the right page after navigating.

passHomepage content is server-renderedCrawlability (Google)

Homepage server response contains 1305 words of visible text — content is reachable without executing JavaScript.

passDOM size is reasonableStructured data & HTML

Homepage contains ~1359 elements.

passHeading hierarchy is intactStructured data & HTML

9 headings, no level skips.

pass<html lang> attributeStructured data & HTML

Language declared as "en-us".

passImages have alt textStructured data & HTML

3 of 3 <img> tags have alt attributes.

passInternal links on homepageStructured data & HTML

5 internal links found.

passSingle H1 on homepageStructured data & HTML

Exactly one <h1> on the homepage.

passKey pages are server-renderedKey pages crawl

All 12 pages return ≥80 words of visible text without JavaScript.

Operability

Can agents actually operate the page?

failLinks do not have a discernible nameAccessibility

Lighthouse flagged this audit — agents may be unable to perceive or operate the affected elements.

Fix: Give every link discernible text (avoid bare icons / "click here") so agents know where it goes.

failWebMCP tools registered with the browserWebMCP tools

The page registers no tools via the navigator.modelContext browser API, so an AI agent has no structured way to operate it.

Fix: Expose your site’s actions to AI agents with the WebMCP browser API: call navigator.modelContext.registerTool({ name, description, inputSchema, execute }) from your page so an agent can invoke them. Implement it directly, or with a library like the @mcp-b polyfill (https://mcp-b.ai). Spec: https://github.com/webmachinelearning/webmcp.

warnAccessibility tree is agent-navigableAccessibility

1 of 15 agent-critical accessibility audits failed (Links do not have a discernible name) — an agent may be unable to identify or operate the affected elements.

Fix: Fix the failing agent-accessibility audits listed below (accessible names on controls, valid ARIA roles/relationships, nothing interactive hidden from the tree).

pass`[aria-*]` attributes match their rolesAccessibility

`[aria-*]` attributes match their roles passed.

passUses ARIA roles only on compatible elementsAccessibility

Uses ARIA roles only on compatible elements passed.

pass`[aria-hidden="true"]` is not present on the document `<body>`Accessibility

`[aria-hidden="true"]` is not present on the document `<body>` passed.

pass`[aria-hidden="true"]` elements do not contain focusable descendentsAccessibility

`[aria-hidden="true"]` elements do not contain focusable descendents passed.

passARIA input fields have accessible namesAccessibility

ARIA input fields have accessible names passed.

pass`[role]`s have all required `[aria-*]` attributesAccessibility

`[role]`s have all required `[aria-*]` attributes passed.

passElements with an ARIA `[role]` that require children to contain a specific `[role]` have all required children.Accessibility

Elements with an ARIA `[role]` that require children to contain a specific `[role]` have all required children. passed.

pass`[role]`s are contained by their required parent elementAccessibility

`[role]`s are contained by their required parent element passed.

pass`[role]` values are validAccessibility

`[role]` values are valid passed.

passARIA toggle fields have accessible namesAccessibility

ARIA toggle fields have accessible names passed.

pass`[aria-*]` attributes are valid and not misspelledAccessibility

`[aria-*]` attributes are valid and not misspelled passed.

pass`[aria-*]` attributes have valid valuesAccessibility

`[aria-*]` attributes have valid values passed.

passButtons have an accessible nameAccessibility

Buttons have an accessible name passed.

passDocument has a `<title>` elementAccessibility

Document has a `<title>` element passed.

passOverall accessibility scoreAccessibility

Lighthouse accessibility score: 97/100. Agents read the page through its accessibility tree, so this is a proxy for how navigable your site is to an AI agent.

passForm fields have labelsStructured data & HTML

9 of 9 visible interactive form fields have labels.

passCumulative Layout ShiftPerformance

0.020 (field data from CrUX) — good.

passTime to First BytePerformance

398ms (field data from CrUX) — good.

infoTool catalog signpost publishedWebMCP tools

No tool catalog was found at /.well-known/webmcp.json (or /.well-known/webmcp). The catalog is a community convention, not part of the WebMCP standard, so this does not affect WebMCP presence.

Fix: Consider also publishing a tool catalog at /.well-known/webmcp.json: a JSON document with a "spec" of "webmcp/0.1" and a "tools" array, where each tool declares a name and a clear description. It is a community convention (optional, not part of the WebMCP standard) that lets crawlers and agents discover your tools without executing JavaScript.

Trust & Security

Can agents safely transact?

warnOAuth authorization server metadataOpen agent protocols

/.well-known/oauth-authorization-server returned 404.

Fix: Publish /.well-known/oauth-authorization-server so AI agents discovering your OAuth setup can negotiate flows automatically. Required if your site offers an authenticated API.

warnOAuth protected-resource metadataOpen agent protocols

/.well-known/oauth-protected-resource returned 404.

Fix: Publish /.well-known/oauth-protected-resource so AI agents discovering your OAuth setup can negotiate flows automatically. Required if your site offers an authenticated API.

warnWeb Bot Auth signature headerOpen agent protocols

No Web Bot Auth signature headers — sites can't verify agent identity.

Fix: Web Bot Auth (IETF HTTP Message Signatures over Signature / Signature-Input) lets you cryptographically verify which agent is hitting you. Several CDNs offer turn-key support; otherwise skip until vendor support matures.

warnHTTP Strict-Transport-Security headerSecurity & trust

HSTS configured (max-age=31536000) but missing includeSubDomains.

Fix: Add `includeSubDomains` so subdomains inherit the policy.

warnReferrer-Policy headerSecurity & trust

No Referrer-Policy header on the homepage.

Fix: Add `Referrer-Policy: strict-origin-when-cross-origin` so outbound links don't leak full URLs (including query strings) to third parties.

passCDN detectedSecurity & trust

x-amz-cf-id: RGWgmnOZgzXbImIfiD-jB1w_X9NIjQ9WZl7dfE6u (AWS CloudFront)

passContent-Security-Policy headerSecurity & trust

CSP header present.

passSite is served over HTTPSSecurity & trust

Homepage scheme is https:.

passhttp:// redirects to https://Security & trust

http://trainline.com → https://www.thetrainline.com/en-us (3 hops).

passHomepage shows no error outputSecurity & trust

No stack-trace markers in the first 5KB.

passNo mixed-content referencesSecurity & trust

Homepage HTML references no http:// resources.

passTLS certificate is not near expirySecurity & trust

Valid for 162 more days (Dec 30 23:59:59 2026 GMT, issuer: Amazon RSA 2048 M04).

passNo tech-stack disclosure in headersSecurity & trust

Server / X-Powered-By headers don't leak product version.

passMIME-sniff protectionSecurity & trust

X-Content-Type-Options: nosniff.

passClick-jacking protectionSecurity & trust

X-Frame-Options: SAMEORIGIN.