Optional discovery formats

What happens when a service description is missing?

If a service description is missing, the server should say so. Returning the homepage can make an agent mistake it for a real service document.

Source review

Website, llms.txt, Points to a guide. Guide link, Pricing page, Check the actual price.
From a guide index to a source

What to do

Return an appropriate missing-resource response for unsupported metadata paths. Serve real advertised metadata with its correct type.

Practical example

An unknown .well-known record should not return a generic HTML application shell as a valid JSON manifest.

Implementation example

GET /.well-known/unsupported-record HTTP/1.1
Host: example.com

HTTP/1.1 404 Not Found

Adapting the example

The reserved example represents an unsupported record. A supported discovery address instead needs the correct media type and actual document structure.

How to verify the result

Request the missing address and the actual supported discovery address. Check status, media type and the expected document structure.

What this check cannot prove

Publishing an index, card or manifest does not guarantee that a client will discover it or that an AI search service will recommend the business. Google states that it does not use llms.txt for Search visibility.

Where this advice comes from

Optional mechanisms and emerging conventions are identified in context. Verify the applicable version before implementation.

Sources and standards