Photos Performance Stats
photos_performance_statsRetrieve performance statistics and cache information for Photos API usage. Optionally clear the cache.
Instructions
Get performance statistics and cache information for Photos API usage
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clear_cache | No | Whether to clear the cache after getting stats. Defaults to False. | |
| user_google_email | No | The user's Google email address for Photos access. If None, uses the current authenticated user from FastMCP context (auto-injected by middleware). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Error message if stats retrieval failed | |
| success | No | Whether the stats retrieval succeeded | |
| cache_size | No | Current number of items in the cache | |
| user_email | No | Email address of the user | |
| burst_tokens | No | Remaining burst tokens for rate limiting | |
| text_summary | No | Human-readable performance summary | |
| cache_cleared | No | Whether the cache was cleared during this operation | |
| daily_requests | No | Daily API request counts by endpoint | |
| max_cache_size | No | Maximum cache size limit | |
| expired_cleaned | No | Number of expired items cleaned from cache | |
| cache_utilization_percent | No | Percentage of cache capacity currently in use |