signals-scout-mcp-tool-calls
Was er macht
Dieser Scout beobachtet, wie KI-Agenten PostHog-MCP-Werkzeuge nutzen, und findet Werkzeuge, die verbessert werden müssen. Er richtet sich an Teams, die auf PostHog-MCP-Werkzeuge aufbauen oder sie betreiben und wollen, dass sie für Agenten gut funktionieren.
Wann du ihn nutzt
- ✓Wenn ein MCP-Werkzeug für viele Agenten oft fehlschlägt.
- ✓Wenn Agenten ein MCP-Werkzeug immer wieder und wieder wiederholen.
- ✓Wenn die Antworten eines MCP-Werkzeugs langsam oder sehr groß sind.
Link zum Skill
https://github.com/PostHog/posthog/blob/master/products/signals/skills/signals-scout-mcp-tool-calls/SKILL.mdKopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.
So nutzt du ihn
Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.
Fertige Nachricht zum Einfügen
Für Claude Code, Codex oder Cursor: Führe den Befehl in deinem Projektordner aus, dann wird der Skill installiert.
Lade die SKILL.md herunter und lege sie in den Skills-Ordner deines Agenten.
Beispielanfrage an deine KI
“Welche PostHog-MCP-Werkzeuge schlagen bei meinen Agenten fehl oder sind langsam, und was sollte korrigiert werden?”
5 neue Skills pro Woche. 1 Minute Lesezeit.
So funktioniert es
Der Scout liest die Telemetrie der Werkzeugaufrufe und gruppiert die problematischen Werkzeuge nach dem Produktteam, dem sie gehören. Für jede Gruppe legt er einen Bericht mit einem Korrekturvorschlag für jedes Werkzeug ab. Gesunde Gruppen erhalten nichts.
Technischer Inhalt (originale SKILL.md)
Originaltext des Autors, auf Englisch, direkt von GitHub.
Signals scout: MCP tool calls
You are a focused MCP tool-quality scout. Find the PostHog MCP tools that need improvement for this project's agents, group them by $mcp_tool_category — the owning product team, stamped from each product's tools.yaml — and file one report per category that has problem tools; healthy categories get nothing. You own the diagnosis end-to-end — detect each problem tool, localize its cause with the lenses the data supports, and file the category's report carrying a fix hypothesis per tool. An empty run is a real outcome; re-filing a category a prior run already covered is worse than filing nothing.
You author reports directly via the report channel (scout-emit-report / scout-edit-report): you've done the research, so you own each report 1:1 end-to-end rather than firing weak signals for a pipeline to cluster. The bar is correspondingly high — file a report only for localized, validated tool-quality problems you'd stand behind as a standalone inbox item a human will act on. A category with a live report — same problem tools, or new ones joining it — is an edit, not a new report. The harness prompt carries the full report-channel contract (fields, status mapping, reviewer routing, dedupe, and the edit rules); this body adds only the MCP-tool-quality framing.
"Needs improvement" is broader than "fails a lot." A tool earns a report when agents can't use it cleanly, which shows up as any of:
- Failures — a high
$mcp_is_errorrate over meaningful volume and reach. - Struggle — agents call it repeatedly within a session, or fail-then-retry it, which almost always means a confusing schema/description even when calls eventually succeed.
- Slowness — high p95
$mcp_duration_ms(and, in the hono regime,timeoutfailures). - Context bloat — oversized responses (hono regime only).
- Un-diagnosable failures — it fails but the project captures no error detail, so the fix is to add instrumentation.
- Over-calling — agents call it in a much larger share of sessions than in the prior window, even when every call succeeds (lens 10).
Signal-vs-noise discriminator (internalize this): rate/struggle weighted by volume and reach, concentrated in a consistent shape. Raw counts are noise (a high-traffic tool fails and repeats more in absolute terms while being healthy); a high rate or per-session struggle across many distinct users/sessions is the signal. A tool at 40% failure on 2,000 calls across 30 users, or one agents call 4× per session in 60% of sessions, is a strong finding; the same shape on 12 calls from one session is not. The report grain is the category, but the bar stays per-tool: a category never earns a report by summing individually-sub-threshold tools — a big category accumulates errors proportional to its size while every tool is healthy. The one exception: ≥3 tools in one category showing the same failure shape (same error class, same struggle pattern), each just under the bar, is one systemic defect in a shared code path and clears the bar collectively.
The data + reliability tiers (this is the key discipline)
MCP tool calls land on the $mcp_tool_call event, emitted by both PostHog's own hono server and external customer servers instrumented with the SDK. Crucially, the two regimes capture different fields, so never hardcode a field's presence — check coverage first (query 0) and pick lenses to match.
Tier 1 — always present (build detection on these):
| Field | Access | Use |
|---|---|---|
| failure flag | toBool(properties.$mcp_is_error) |
failure rate |
| duration | toFloat(properties.$mcp_duration_ms) |
latency |
| tool name | Effective tool expression in the query cookbook | grouping key (includes rejected calls to known targets) |
| reach | distinct_id, $session_id |
reject single-user noise; compute per-session struggle |
| client | `prope |
Häufige Fragen
Muss ein Werkzeug oft fehlschlagen, um gemeldet zu werden?
Nein. Ein Werkzeug kann verbessert werden müssen, weil es langsam ist oder Antworten aufbläht, nicht nur weil es fehlschlägt.
Wer bekommt die Berichte?
Berichte werden nach zuständiger Produktkategorie gruppiert, sodass jedes Team einen Bericht für seine Werkzeuge bekommt.
Meldet er gesunde Werkzeuge?
Nein. Gesunde Kategorien bekommen keinen Bericht.
Details
Originalbeschreibung des Autors
Signals scout for PostHog MCP tool calls. Watches `$mcp_tool_call` telemetry for tools that need improvement — broad-reach failure rates, retry hammering, slow or context-bloating responses — grouped by owning product category, each with a fix suggestion.
repo: PostHog/posthog
Beliebtheit
- GitHub-Sterne
- 41k
- Platz im Ranking
- #6936
- Lizenz
- —
- Aktualisiert
- 2.11.2026
Kommentare
- …
Weitere Skills aus diesem Repository
depot-ci
41kBringt deinem Agenten bei, Depot-CI-Workflows einzurichten, bestehende Workflows zu migrieren und Laufprotokolle auszuwerten.
depot-container-builds
41kHilft deinem Agenten, Docker-Images auf Depot-Remote-Buildern zu bauen, mit Multi-Plattform-Images, Registry-Push und Fehlerbehebung.
depot-github-runners
41kLässt deinen Agenten GitHub-Actions-Jobs auf Depot-Runnern laufen, mit passender Runner-Größe und Labels, und hilft bei Einrichtungsfehlern.
editing-agents-md
41kHilft deinem Agenten zu entscheiden, ob eine Regel in AGENTS.md oder CLAUDE.md gehört, und sie so zu formulieren, dass sie hält.
Ähnliche Skills
mcporter
394kHilft deinem Agenten, MCP-Server und ihre Werkzeuge über HTTP oder stdio aufzulisten, aufzurufen und zu prüfen und ihre Anmeldeeinstellungen zu verwalten.
fastmcp
260kHilft dir, einen Python-MCP-Server zu bauen, zu testen und bereitzustellen, der KI-Assistenten Zugriff auf deine API, Datenbank oder Dateien gibt.
mcp-oauth-remote-gateway
260kFührt dich durch die OAuth-Anmeldung für einen entfernten MCP-Server, wenn Hermes auf einem Server läuft und die normale Browseranmeldung ihn nicht erreicht.