signals-scout-mcp-tool-calls
यह क्या करती है
यह स्काउट देखता है कि AI एजेंट PostHog MCP टूल कैसे इस्तेमाल करते हैं, और उन टूल को खोजता है जिन्हें सुधार की ज़रूरत है। यह उन टीमों के लिए है जो PostHog MCP टूल पर काम करती या चलाती हैं और चाहती हैं कि वे एजेंट के लिए अच्छे चलें।
कब इस्तेमाल करें
- ✓जब कोई MCP टूल कई एजेंट के लिए अक्सर विफल हो।
- ✓जब एजेंट एक ही MCP टूल को बार-बार दोहराते रहें।
- ✓जब किसी MCP टूल के जवाब धीमे या बहुत बड़े हों।
Skill का लिंक
https://github.com/PostHog/posthog/blob/master/products/signals/skills/signals-scout-mcp-tool-calls/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मेरे एजेंट के लिए कौन से PostHog MCP टूल विफल या धीमे हैं, और किसे ठीक करना चाहिए?”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
यह टूल कॉल की टेलीमेट्री पढ़ती है और समस्या वाले टूल को उस उत्पाद टीम के अनुसार समूहित करती है जिसके वे मालिक हैं। हर समूह के लिए यह हर टूल के सुधार सुझाव के साथ एक रिपोर्ट दर्ज करती है, और स्वस्थ समूहों को कुछ नहीं मिलता।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे 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 |
अक्सर पूछे जाने वाले सवाल
क्या किसी टूल को रिपोर्ट होने के लिए बहुत बार विफल होना ज़रूरी है?
नहीं। कोई टूल इसलिए सुधार चाहता हो सकता है क्योंकि वह धीमा है या जवाब बहुत फुलाता है, केवल विफलता के कारण नहीं।
रिपोर्ट किसे मिलती हैं?
रिपोर्ट मालिक उत्पाद श्रेणी के अनुसार समूहित होती हैं, ताकि हर टीम को अपने टूल के लिए एक रिपोर्ट मिले।
क्या यह स्वस्थ टूल की रिपोर्ट करती है?
नहीं। स्वस्थ श्रेणियों के लिए कोई रिपोर्ट नहीं होती।
जानकारी
लेखक का मूल विवरण
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
लोकप्रियता
- GitHub स्टार
- 41k
- रैंकिंग में स्थान
- #6936
- लाइसेंस
- —
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
depot-ci
41kयह आपके एजेंट को Depot CI वर्कफ़्लो सेट अप करने, चलाने और माइग्रेट करने में मदद करती है, साथ ही रन के लॉग पढ़ने में।
depot-container-builds
41kयह आपके एजेंट को Depot के रिमोट बिल्डर पर Docker इमेज बनाने में मदद करती है, जिसमें मल्टी-प्लेटफ़ॉर्म इमेज और बिल्ड सुधार शामिल हैं।
depot-github-runners
41kयह आपके एजेंट को GitHub Actions जॉब Depot के मैनेज्ड रनर पर ले जाने, रनर का साइज़ और लेबल चुनने, और रनर सेटअप की समस्याएँ ठीक करने में मदद करती है।
editing-agents-md
41kयह आपके एजेंट को तय करने में मदद करती है कि कोई नियम AGENTS.md या CLAUDE.md में जाए या नहीं, और उसे ऐसे लिखे कि फ़ाइल भारी न हो।
मिलती-जुलती skills
mcporter
394kयह आपके एजेंट को HTTP या stdio पर MCP सर्वर और उनके टूल सूचीबद्ध करने, चलाने और जांचने देती है, और उनकी साइन-इन सेटिंग्स प्रबंधित करती है।
fastmcp
260kआपको Python में MCP सर्वर बनाने, जाँचने और तैनात करने में मदद करती है, जो AI सहायकों को आपके API, डेटाबेस या फ़ाइलों तक टूल के रूप में पहुँच देता है।
mcp-oauth-remote-gateway
260kजब Hermes किसी सर्वर पर चलता है, तो रिमोट MCP सर्वर के लिए OAuth साइन-इन हाथ से करने में मदद करती है, जहाँ सामान्य ब्राउज़र साइन-इन नहीं पहुँच पाता।