get_usage_stats
Retrieve local tool call statistics for the stock MCP server, including total calls, errors, per-tool counts, and daily distribution over a chosen number of days.
Instructions
获取本 MCP 服务器的工具调用统计(本地记录)。
返回最近 N 天的调用总数、错误数、各工具调用次数、按天分布。 统计只覆盖有写入日志文件的实例;日志路径可用环境变量 STOCK_MCP_USAGE_LOG 指定。
Args: days: 统计最近多少天,默认 7,最大 365。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |