Early accessFree up to a million events a month.Sign up free
Skip to Content
Docs

Tools

Every tool Lyrelog's MCP server offers, what it takes and what it answers.

Each tool answers the same JSON as the dashboard's own page for it, so what an app reads is what you see. An answer longer than 200 KB is cut, with a note to narrow the question. A tool that can't answer says why, as an error the app reads: a project or error you can't see is "not found", like one that doesn't exist.

Most tools take a project: its id, from list_projects.

Time and filters

Tools that read events take a time window and the explorer's filters. Each filter takes a value, "a|b" for any of several, or "!a|b" for none of them.

FieldWhat
sinceHow far back: 15m, 1h, 6h, 24h, 7d or 30d. The default depends on the tool.
from, toA window in Unix milliseconds, instead of since
levelLevels, comma-separated: trace, debug, info, notice, warning, error, critical
areaThe area of the app (an event's category)
eventAn event name (the message)
queryText in names and areas, or an event, person, session or install id
personA person's id (the user_id the app sends)
sessionA session's id
version, platform, device, os, countryWhere it ran
environmentproduction, testflight, development... The default is the project's own.
attributesAttribute filters, path:value or path!:value

Reading

ToolTakesAnswers
list_projectsNothingThe projects you can see: id, name, platforms, default environment, the word for their people
list_errorsproject, since (default 7d) or from/to, status (open by default, resolved, ignored), include_warnings, environmentErrors grouped by area and name, worst first: events, people, versions, first and last seen, state, GitHub or Linear issue, a sample event, person and session; for an exception or a crash, what failed (what)
search_eventsproject, the filters (default 24h), limit (1 to 200, default 50), cursor, oldest_firstA page of events, and a cursor for the next
get_eventproject, event_id, ts (its time in Unix ms, if known: faster)One event in full: attributes, payload, device, version, system
event_valuesproject, the filters (default 24h), field (version, device, country...) or attribute (a path)The most common values among the filtered events, with counts
events_summaryproject, the filters (default 24h)Totals by level, area, platform and version, with people and sessions
list_attributesproject, the filters (default 24h)The attribute paths recent events carry
list_sessionsproject, since (default 24h) or from/to, with_event, errors_only, personSessions: who, when, how long, events and errors
get_personproject, personOne person: first and last seen, events, errors, devices, versions
list_releasesproject, since (default 7d) or from/toVersions, newest first, with people, sessions and sessions without errors
trendproject, the filters (default 24h), events (names), breakdown (a field, or attr.<path>)How often events happened over time
rateproject, the filters (default 24h), hits (failures), of (attempts), breakdownFailures over attempts over time
funnelproject, the filters (default 24h), steps (at least two names, in order)How many people went through each step, and how long it took
list_saved_searchesprojectYour saved views and searches and the project's shared ones, with the filters each keeps
dashboard_linkproject, page (explorer, errors, sessions, people, insights, releases, settings or person), person, session, errorA link to that page of the dashboard, for you to open

Changing (with Allow changes)

These need the app to have been approved with Allow changes. Without it, the app is told so, with HTTP 403 and the scope to ask for, so it can ask you again.

ToolTakesDoes
set_error_statusproject, error (its id, issue in list_errors), status (open, resolved, ignored), in_next_versionResolves, ignores or reopens an error, as its menu on the Errors page does. Its GitHub or Linear issue follows.
create_tracker_issueproject, errorOpens the error's issue in the project's repository or team (GitHub and Linear), or answers the one it has