MCP toolsRead and fixUpdated

What happened lately

mttr_eventsOwner

This page as Markdown

What does mttr_events do?

The newest things that happened: reads asked for, finished and failed, scores that moved, and rules that were fixed. Only whoever runs this mttr may make this call.

When to use it

  • You come back after a while and want to catch up.

What you ask

You say“What has happened on mttr since this morning?”

Your assistant callsmttr_events({})
ArgumentTypeNeededWhat it is
siteTextNoOnly events for this site.
limitNumberNoHow many to return.

What comes back

  • Each event with its time, its site and what happened.
What it answersSample
WhenSiteWhat happened
11:20example.comScore 64 to 72
11:18example.comRead finished
11:09example.comRead asked for

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

Over HTTP

It is GET /api/v1/events, with your key as a bearer token:

HTTP
curl "https://mttr.si/api/v1/events" \
  -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.
The key is a person’s, not the owner’s403Nothing: only whoever runs mttr makes this call.

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_events in the API reference.

Goes with

Sources