get_usage_stats
MyDART MCP의 get_usage_stats 도구는 도구 사용량 집계를 반환합니다 — 어떤 도구가 얼마나 쓰였는지.
[Purpose]
Per-tool call counts·popularity·latency·error rate·cache hits, plus daily trends.
[Usage]
"사용량 통계 보여줘" → {} (default 30 days)
"최근 90일 도구별 순위" → days=90
"전체 기간 누적" → days=0
[Response]
Common: { period, overview:{total_calls, unique_users, error_rate}, by_tool:[{tool, calls, errors, avg_ms, cache_hits, cache_hit_rate, share_pct}], by_day[] }
Operator identity (local stdio, or the HTTP key matching the server operator's) additionally gets by_company·users·viewer — decided by requester identity, NOT selectable by parameter.
[Rules]
public responses have no by_company / per-user detail — do not promise them to general callers.
Local stdio may show total_calls>0 with unique_users=0 (single local user — not a contradiction).
error_rate is a 0~1 decimal; share_pct is a percentage — different units.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Trailing window in days. 0 = the entire retained period. |