You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/mcp/resources/guides/crashlytics_connect.ts
+14-10Lines changed: 14 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ import { resource } from "../../resource";
3
3
exportconstRESOURCE_CONTENT=`
4
4
### Instructions for Working with Firebase Crashlytics Tools
5
5
6
-
Only ask the user one question at a time. Do not proceed without user instructions. Upon receiving user instructions, refer to the relevant resources for guidance.
6
+
When working interactively with a user, only ask the one question at a time. Do not proceed without user instructions. Upon receiving user instructions, refer to the relevant resources for guidance.
7
7
8
8
Use the \`firebase_read_resources\` tool to access the following guides.
9
9
@@ -16,22 +16,26 @@ Use the \`firebase_read_resources\` tool to access the following guides.
This guide details how to work with issues within Crashlytics. The agent should read this guide before prioritizing issues or presenting issue data to the user.
This guide provides instructions on investigating the root causes of crashes and exceptions reported in Crashlytics issues.
21
21
22
-
### Check That You Are Connected
22
+
### How to Check That You Are Connected
23
23
24
24
Verify that you can read the app's Crashlytics data by getting the topVersions report. This report will tell you which app versions have the most events.
25
-
a. Use the firebase://guides/app_id if you need to find the app_id.
25
+
a. Read the firebase://guides/app_id if you need to find the app_id.
26
26
b. Call the \`crashlytics_get_report\` tool to read the \`topVersions\` report.
27
-
c. If you haven't read the reports guide, then the tool will include it in the response. This is OK. Simply call the tool again.
28
-
d. Help the user resolve any issues that arise when trying to connect.
27
+
c. Help the user resolve any issues that arise when trying to connect.
29
28
30
-
After confirming you can access Crashlytics, ask the user what they would like help with. Your capabilities include:
29
+
After confirming that you can access Crashlytics, ask the user what they would like help with. Your capabilities include:
31
30
32
-
- Reading Crashlytics reports to prioritize or find important issues. Before fetching issues or reports, you MUST read both the firebase://guides/crashlytics/reports and firebase://guides/crashlytics/issues guides to know how to best help users with this.
33
-
- Investigating bug reports using Crashlytics event data. Before attempting to investigate an individual issue, you MUST read the firebase://guides/crashlytics/investigations guide to know how to best help users with this.
34
-
- Proposing code changes to resolve identified bugs.
31
+
- *Reading Crashlytics reports to prioritize or find important issues.*
32
+
Before fetching reports, read the critical instructions for the \`crashlytics_get_report\` tool in the [Firebase Crashlytics Reports Guide](firebase://guides/crashlytics/reports).
33
+
34
+
- *Investigating bug reports using Crashlytics event data.*
35
+
Before attempting to investigate an individual issue, read the [Investigating Crashlytics Issues Guide](firebase://guides/crashlytics/investigations) to understand the best practices for debugging issues.
36
+
37
+
- *Proposing code changes to resolve identified bugs.*
Copy file name to clipboardExpand all lines: src/mcp/resources/guides/crashlytics_reports.ts
+9Lines changed: 9 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -88,6 +88,15 @@ When setting report filters adhere to the following instructions.
88
88
* Report responses grouped by issue will include a sample event URI. Use the "crashlytics_batch_get_events" tool to fetch the complete record for any sample event.
89
89
90
90
* When investigating an issue, use the appropriate top devices and top operating systems reports to understand what systems are impacted by the problem. Pass the "issueId" in the filter to narrow any report to a specific issue.
91
+
92
+
### How to Display Issues
93
+
94
+
When displaying a list of issues, use the following format:
95
+
96
+
1. Issue <full issue id>
97
+
* <the issue title>
98
+
* <the issue subtitle>
99
+
* **Description:** <a discription of the issue based on information from the tool response>
`**REQUIRED PREREQUISITE:** READ firebase://guides/app_id, firebase://guides/crashlytics/reports, and firebase://guides/crashlytics/issues.
44
-
**DO NOT FETCH DATA FIRST. IT WILL CAUSE ERRORS AND WASTE TOKENS AND TIME. READING THE GUIDES IS THE MOST EFFICIENT WAY TO GET THE ANSWERS YOU WANT.**
45
-
AGENTS MUST READ these guides to fetch, format, and interpret report results or TOOL CALLS WILL FAIL.
46
-
47
-
Use this to request numerical reports from Crashlytics.
43
+
`Use this to request numerical reports from Crashlytics. The result aggregates the sum of events and impacted users, grouped by a dimension appropriate for that report. Agents must read the [Firebase Crashlytics Reports Guide](firebase://guides/crashlytics/reports) using the \`firebase_read_resources\` tool before calling to understand criticial prerequisites for requesting reports and how to interpret the results.
0 commit comments