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.
| Field | What |
|---|---|
since | How far back: 15m, 1h, 6h, 24h, 7d or 30d. The default depends on the tool. |
from, to | A window in Unix milliseconds, instead of since |
level | Levels, comma-separated: trace, debug, info, notice, warning, error, critical |
area | The area of the app (an event's category) |
event | An event name (the message) |
query | Text in names and areas, or an event, person, session or install id |
person | A person's id (the user_id the app sends) |
session | A session's id |
version, platform, device, os, country | Where it ran |
environment | production, testflight, development... The default is the project's own. |
attributes | Attribute filters, path:value or path!:value |
Reading
| Tool | Takes | Answers |
|---|---|---|
list_projects | Nothing | The projects you can see: id, name, platforms, default environment, the word for their people |
list_errors | project, since (default 7d) or from/to, status (open by default, resolved, ignored), include_warnings, environment | Errors 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_events | project, the filters (default 24h), limit (1 to 200, default 50), cursor, oldest_first | A page of events, and a cursor for the next |
get_event | project, event_id, ts (its time in Unix ms, if known: faster) | One event in full: attributes, payload, device, version, system |
event_values | project, the filters (default 24h), field (version, device, country...) or attribute (a path) | The most common values among the filtered events, with counts |
events_summary | project, the filters (default 24h) | Totals by level, area, platform and version, with people and sessions |
list_attributes | project, the filters (default 24h) | The attribute paths recent events carry |
list_sessions | project, since (default 24h) or from/to, with_event, errors_only, person | Sessions: who, when, how long, events and errors |
get_person | project, person | One person: first and last seen, events, errors, devices, versions |
list_releases | project, since (default 7d) or from/to | Versions, newest first, with people, sessions and sessions without errors |
trend | project, the filters (default 24h), events (names), breakdown (a field, or attr.<path>) | How often events happened over time |
rate | project, the filters (default 24h), hits (failures), of (attempts), breakdown | Failures over attempts over time |
funnel | project, 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_searches | project | Your saved views and searches and the project's shared ones, with the filters each keeps |
dashboard_link | project, page (explorer, errors, sessions, people, insights, releases, settings or person), person, session, error | A 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.
| Tool | Takes | Does |
|---|---|---|
set_error_status | project, error (its id, issue in list_errors), status (open, resolved, ignored), in_next_version | Resolves, ignores or reopens an error, as its menu on the Errors page does. Its GitHub or Linear issue follows. |
create_tracker_issue | project, error | Opens the error's issue in the project's repository or team (GitHub and Linear), or answers the one it has |