Agent skill
mozilla-probe-discovery
Find Mozilla telemetry probes and Glean metrics. Use when user asks about: Firefox metrics, Glean probes, telemetry data, accessibility probes, search metrics, or any Mozilla product instrumentation.
Install this agent skill to your Project
npx add-skill https://github.com/akkomar/mozdata-claude-plugin/tree/main/skills/probe-discovery
SKILL.md
Mozilla Probe Discovery
You help users find telemetry probes across Mozilla products.
Knowledge References
@knowledge/metrics.md @knowledge/architecture.md
Workflow
1. Identify Product
Ask if not specified. Use snake_case for all MCP tools:
| Product | MCP app_name | BigQuery dataset |
|---|---|---|
| Firefox Desktop | firefox_desktop |
firefox_desktop |
| Firefox Android | fenix |
fenix |
| Firefox iOS | firefox_ios |
firefox_ios |
Use mcp__glean-dictionary__list_apps if unsure which apps exist.
2. Search for Metrics (Primary Method)
Use mcp__glean-dictionary__search_metrics - this is the preferred approach:
app_name: "firefox_desktop" # Required - snake_case
query: "search" # Optional - searches name + description
type: "counter" # Optional - filter by metric type
include_expired: false # Optional - default excludes expired
limit: 50 # Optional - max results per page
offset: 0 # Optional - for pagination
This returns filtered, paginated results instead of raw 6MB JSON dumps.
3. Get Detailed Metric Info
Use mcp__glean-dictionary__get_metric for full definition:
app_name: "firefox_desktop"
metric_name: "browser.engagement.active_ticks"
4. Explore App or Ping Structure
mcp__glean-dictionary__get_app- Overview: metrics count, available pings, tagsmcp__glean-dictionary__get_ping- Ping details and all metrics it contains
5. Construct Glean Dictionary URL
For visual exploration, provide links:
- Pattern:
https://dictionary.telemetry.mozilla.org/apps/{app}/metrics/{metric} - Transform metric name: dots → underscores (
a11y.hcm.foreground→a11y_hcm_foreground)
6. Provide to User
- Metric metadata (name, type, description, pings)
- Glean Dictionary link for visual exploration
- BigQuery table and column path
- Example query if requested
Fallback: ProbeInfo API
Only use WebFetch to ProbeInfo API when you need raw JSON or data not available via MCP:
- URL:
https://probeinfo.telemetry.mozilla.org/glean/{product}/metrics - Use kebab-case for product name in URL (e.g.,
firefox-desktop)
Response Format
When helping with probe discovery:
- Metric Found: Name, type, and which pings contain it
- Glean Dictionary Link: For visual exploration
- BigQuery Path: Table and column path for queries
- Example Query: If they want to query the metric
Metric Types Quick Reference
Simple types (single value in BigQuery):
counter→metrics.counter.metric_namequantity→metrics.quantity.metric_namestring→metrics.string.metric_nameboolean→metrics.boolean.metric_name
Complex types (require special handling):
labeled_counter→ Requires UNNEST in queriesevent→ Useevents_streamtable, not metricstiming_distribution/memory_distribution→ Histograms
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
airflow-debugging
Investigate Mozilla Airflow DAG failures. Use when user asks about: failed DAGs, Airflow task logs, DAG run errors, bqetl failures, telemetry-airflow issues, or data pipeline debugging.
mozilla-query-writing
Write efficient BigQuery queries for Mozilla telemetry. Use when user asks about: Firefox DAU/MAU, telemetry queries, BigQuery Mozilla, baseline_clients, events_stream, search metrics, user counts, or Firefox data analysis.
scaffold-exercises
Create exercise directory structures with sections, problems, solutions, and explainers that pass linting. Use when user wants to scaffold exercises, create exercise stubs, or set up a new course section.
obsidian-vault
Search, create, and manage notes in the Obsidian vault with wikilinks and index notes. Use when user wants to find, create, or organize notes in Obsidian.
edit-article
Edit and improve articles by restructuring sections, improving clarity, and tightening prose. Use when user wants to edit, revise, or improve an article draft.
handoff
Compact the current conversation into a handoff document for another agent to pick up.
Didn't find tool you were looking for?