compare_periods
Analyze productivity trends by comparing statistics between two time periods. Generate HTML and Markdown reports showing performance changes in meetings, Slack, email, and focus time metrics.
Instructions
Compare productivity statistics between two time periods. Generates comparison reports in HTML and Markdown formats showing trends and changes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period1 | Yes | First period to compare | |
| period2 | Yes | Second period to compare | |
| metrics | No | Metrics to compare (default: all) | |
| output_format | No | Output format(s) to generate (default: both) | both |
| save_to_file | No | Whether to save comparison to summaries directory (default: true) |
Input Schema (JSON Schema)
{
"properties": {
"metrics": {
"default": [
"all"
],
"description": "Metrics to compare (default: all)",
"items": {
"enum": [
"meetings",
"slack",
"email",
"focus_time",
"all"
],
"type": "string"
},
"type": "array"
},
"output_format": {
"default": "both",
"description": "Output format(s) to generate (default: both)",
"enum": [
"both",
"html",
"markdown"
],
"type": "string"
},
"period1": {
"description": "First period to compare",
"properties": {
"end_date": {
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"type": "string"
},
"start_date": {
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"type": "string"
}
},
"required": [
"start_date",
"end_date"
],
"type": "object"
},
"period2": {
"description": "Second period to compare",
"properties": {
"end_date": {
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"type": "string"
},
"start_date": {
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"type": "string"
}
},
"required": [
"start_date",
"end_date"
],
"type": "object"
},
"save_to_file": {
"default": true,
"description": "Whether to save comparison to summaries directory (default: true)",
"type": "boolean"
}
},
"required": [
"period1",
"period2"
],
"type": "object"
}