사용량 통계
get_usage_statsMyKIFRS MCP의 get_usage_stats 도구는 이 MCP 서버의 도구 사용량 통계를 반환합니다.
[Purpose]
Per-tool usage·latency (avg/percentiles)·error rate·daily trend.
[Usage]
"최근 30일 사용량" → (인자 없음)
"지난 7일만" → days=7
"전체 기간" → days=0
[Response]
Both tiers: { visibility, period:{days, since, until}, overview:{total_calls, unique_users, errors, error_rate, p50_ms, p90_ms, p99_ms}, by_tool:[{tool, calls, errors, error_rate, avg_ms, p99_ms, users}], by_day:[{day, calls}] }
visibility="public" adds
note; period.days = "all" when days=0.visibility="operator" adds users:[{user, is_owner, calls, distinct_tools, first_seen, last_seen, tools:[{tool, calls, avg_ms}]}] and top_targets:[{target, tool, calls, users}].
[Rules]
Tier by requester: admin token·local stdio → "operator", else "public".
users·top_targets exist only at operator tier — absence ≠ 0.
useris a truncated SHA-256 of the 접속 토큰 — not a person. stdio calls (no hash) never appear.Timings = server-side handler time (no network).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | 최근 N일 윈도 (0이면 전체 기간, 기본 30) |