MCP toolsInside a siteUpdated

Pages

mttr_pagesAny key

This page as Markdown

What does mttr_pages do?

The pages of a site from its latest read, with status, clicks from home, words and the rules each fails. It can be narrowed to the pages failing one rule. Any key may make this call, on any public site.

When to use it

  • You want to see which pages a fix touches.
  • You want the pages that fail one rule.

What you ask

You say“Which pages on example.com fail the sources rule?”

Your assistant calls
mttr_pages({
  site: "example.com"
})
ArgumentTypeNeededWhat it is
siteTextYesThe site, as a domain such as example.com.
failingTextNoA rule id. Only pages failing that rule.
qTextNoText the path must contain.
kindOne of theseNoOnly pages of this kind.homearticleservicepage
sectionTextNoOnly pages in this section, such as /guides.
sortOne of theseNoWhat to sort by.pathkinddepthwordsmsinlinksfailing
dirOne of theseNoWhich way to sort.ascdesc
limitNumberNoHow many to return.
offsetNumberNoHow many to skip, for the next part of a long list.

What comes back

  • Each page with its status, depth, words and failing rules.
What it answersSample
PageStatusClicksWordsFails
/guides/drain-cleaning20021,2402
/guides/septic-care20029801
/contact20011400

Made-up sites and figures, to show the shape of the answer. The answer itself is JSON.

Over HTTP

It is GET /api/v1/sites/{site}/pages, with your key as a bearer token:

HTTP
curl "https://mttr.si/api/v1/sites/example.com/pages" \
  -H "Authorization: Bearer $MTTR_KEY"

When it fails

WhenStatusWhat to do
Your assistant has no key yet401 over MCPSign up with mttr_signup, then connect again with the key it gives.
mttr has no public report of the site yet404Ask for a read with mttr_rescan, then watch it with mttr_job.

Every error’s wording is in the API reference.

The call in full, with its HTTP address, each argument’s type, who may make it and the call in four languages, is mttr_pages in the API reference.

Goes with

Sources