본문으로 건너뛰기
Skillpedia
커넥터 (MCP)41k · #6893

exploring-mcp-tool-usage

하는 일

이 스킬은 MCP 서버가 어떻게 쓰이는지 보는 출발점입니다. 무엇을 볼지 정하기 전에 전체 개요를 원하는 사람을 위한 것입니다.

사용하는 경우

  • ✓MCP 서버가 어떤지 묻는데 무엇을 봐야 할지 모를 때.
  • ✓누가 MCP 도구를 쓰는지 알고 싶을 때.
  • ✓MCP 분석 링크를 붙여 넣고 무엇을 보여 주는지 알고 싶을 때.

스킬 링크

https://github.com/PostHog/posthog/blob/master/products/mcp_analytics/skills/exploring-mcp-tool-usage/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/PostHog/posthog/blob/master/products/mcp_analytics/skills/exploring-mcp-tool-usage/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“제 MCP 서버는 어떤가요? 먼저 무엇을 봐야 하는지 보여 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

흔한 질문의 짧은 메뉴를 제시한 뒤, 고른 질문에 답할 올바른 도구나 집중 스킬로 안내합니다. 답은 PostHog 화면과 일치합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Exploring MCP tool usage

Any MCP server instrumented with the @posthog/mcp SDK emits a $mcp_tool_call event every time an agent invokes a tool. This skill is the front door for a user who knows they want to look at their MCP tool usage but hasn't picked a specific question. Offer the menu below, then route to the tool — or the focused skill — that answers what they choose.

Governed metric first

When the question asks for an MCP failure rate or percentage, call posthog:metric-list before any typed tool or SQL recipe and look for mcp_tool_call_fail_pct. Run an approved, non-drifted match with posthog:data-catalog-metric-run for the canonical headline. If the user also asks which tool or harness drives failures, answer the headline first, then use the per-tool workflows below for a noncanonical breakdown. If no governed metric matches, say so and label the derived rate noncanonical.

Every per-tool tool here takes a toolName (the effective tool name — resolved server-side, so pass the name the agent actually invokes — except posthog:query-mcp-tool-failures, which matches $exception events and so takes the raw registered $mcp_tool_name) plus a dateRange, and runs the same query runner the tool-detail UI uses. So results match the UI, and you never hand-write the HogQL.

Suggested questions

Lead with these when the user is unsure what to ask:

Ask the user… Answered by
"Which tools fail most, or are slowest?" exploring-mcp-tool-quality (ranks all tools), then posthog:query-mcp-tool-stats to drill in
"How is tool X doing overall?" posthog:query-mcp-tool-stats — calls, errors, p50/p95, users, sessions, intents
"How has tool X trended?" posthog:query-mcp-tool-daily-stats — day-by-day series
"Why is tool X failing?" posthog:query-mcp-tool-failures — top error messages, by harness (raw tool name)
"Who uses tool X the most?" posthog:query-mcp-tool-top-users — top callers (incl. person email/name)
"What gets called right before/after tool X?" posthog:query-mcp-tool-neighbors (neighborDirection: before/after)
"What are agents trying to do with tool X?" posthog:query-mcp-tool-sample-intents — recent agent intents
"What description is tool X registered with?" posthog:query-mcp-tool-descriptions — distinct descriptions seen
"Which harnesses use my MCP, how reliably?" posthog:query-mcp-harness-breakdown — calls/errors/sessions per client
"What are agents trying to do, across all tools?" exploring-mcp-intent-clusters — semantic goal clusters
"Who is connecting, and how active are they?" posthog:mcp-analytics-sessions-list — one row per session, with client and person
"What did this one session do?" exploring-mcp-sessions — a single agent run's tool sequence

Finding the tool name

The per-tool tools need a toolName. If the user named a tool, pass it. If they asked a broad "which tool…" question, start with exploring-mcp-tool-quality to rank the tools, pick the one that stands out, then drill in with the per-tool tools above. The name to pass is the effective tool name (the inner tool for single-exec wrapper calls) — the same string the tool-quality ranking returns. The one exception is posthog:query-mcp-tool-failures, which matches $exception events by the raw registered $mcp_tool_name, not the effective inner tool.

How to use a per-tool tool

Call it with the tool name and a window, e.g. for the headline numbers of a tool:

posthog:query-mcp-tool-stats  { "toolName": "<tool>", "dateRange": { "date_from": "-7d" } }

Then offer a natural follow-up from the menu — e.g. after posthog:query-mcp-tool-stats shows a high error rate, reach for posthog:query-mcp-tool-failures; after

자주 묻는 질문

어떤 질문에 답할 수 있나요?

사용량, 도구 품질, 세션, 에이전트가 서버에 가져오는 목표에 대한 질문을 다룹니다.

SQL이 필요한가요?

아니요. 각 질문에 타입이 지정된 도구를 쓰므로 SQL은 거의 필요하지 않습니다.

도구 품질 스킬과 어떻게 다른가요?

이 스킬은 질문을 고르도록 돕는 입구이고, 품질 스킬은 오류와 속도를 더 깊이 다룹니다.

상세 정보

작성자의 원본 설명

Starting point for exploring how a PostHog MCP server's tools are used — routes a broad question to the typed tool that answers it. Use when the user asks "how is my MCP doing?", "what should I look at?", "explore my tool calls", "who uses my MCP tools?", "what are agents doing with the MCP?", or pastes an MCP analytics URL without a specific question. Offers a menu of questions, each backed by a query tool, then hands off to the focused skill.

repo: PostHog/posthog

인기도

GitHub 스타
41k
순위
#6893
라이선스
—
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬