Analyze
analyzeAnalyze token savings, audit agent costs, and generate AEO reports or articles for Japanese SaaS services.
Instructions
Analytics and reporting. Analyze token savings, audit agent costs, generate AEO reports and articles.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Explicit mode selection. Auto-detected from params if omitted: category → token_savings, cost_service_id → cost, aeo_service_id → aeo_report, article_type/target_keyword → aeo_article. | |
| services | No | [token_savings] List of service IDs to analyze (e.g., ['freee', 'kintone']). Omit to analyze the top 10 most-used services. | |
| task | No | [token_savings] Optional task context (e.g., 'create invoice in freee') to tailor the analysis. | |
| cost_service_id | No | [cost] Audit a specific service, or omit for all services. | |
| period_days | No | [cost] Analysis period in days (default: 30). | |
| top_n | No | [cost] Max recommendations to return (default: 10, max 50). Sorted by priority (high first) then by monthly_savings_usd desc. | |
| min_priority | No | [cost] Minimum priority level to include. 'high' returns only impactful recs; 'low' returns everything. | |
| aeo_service_id | No | [aeo_report] Filter by service ID. Triggers aeo_report mode when present (without article params). | |
| category | No | [token_savings/aeo_report] Filter by category (e.g., 'accounting', 'hr', 'crm'). Triggers token_savings when used alone. | |
| aeo_top_n | No | [aeo_report] Number of top services to return (default: 20). | |
| include_recommendations | No | [aeo_report] Include improvement recommendations per service (default: true). | |
| quarter | No | [aeo_article] Report period label (e.g., 'Q2 2026', '2026年上半期'). | |
| format | No | [aeo_article] Output format: 'markdown' for blog/press, 'json' for API/embed. | |
| article_top_n | No | [aeo_article] Number of services in the overall ranking table (default: 20). | |
| categories | No | [aeo_article] Focus categories for deep-dive sections. Omit for default set. | |
| article_type | No | [aeo_article] Article type hint. Triggers aeo_article mode when present. | |
| target_keyword | No | [aeo_article] Target keyword for the article. Triggers aeo_article mode when present. | |
| model | No | [cost] Model name hint for cost mode detection. | |
| period | No | [cost] Period hint for cost mode detection. |