Prepare diagnostic summary handoff
prepare_diagnostic_summaryValidates a complete diagnostic summary and returns a handoff payload. Does not send email. Map the diagnosis to a process brief; the user must confirm before POST /api/request-process-assessment.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"clientName": "<clientName>",
"clientEmail": "<clientEmail>",
"sector": "<sector>",
"process": "<process>",
"currentWorkflow": "<currentWorkflow>",
"bottlenecks": "<bottlenecks>",
"currentSystems": "<currentSystems>",
"volumesAndFrequency": "<volumesAndFrequency>",
"baselineMetrics": "<baselineMetrics>",
"dataAvailable": "<dataAvailable>",
"constraints": "<constraints>",
"desiredOutcomes": "<desiredOutcomes>",
"needCategories": "<needCategories>",
"opportunities": "<opportunities>",
"recommendations": "<recommendations>",
"openQuestions": "<openQuestions>",
"nextSteps": "<nextSteps>",
"language": "<language>"
},
"name": "prepare_diagnostic_summary"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sector | Yes | Business sector, e.g. manufacturing or food quality. | |
| process | Yes | Short name of the process under diagnosis, e.g. delivery notes into ERP. | |
| honeypot | No | Anti-spam trap. Must be empty or omitted. | |
| language | Yes | Language of the diagnostic summary: it or en. | |
| nextSteps | Yes | Agreed next steps after reviewing this summary. | |
| clientName | Yes | Client full name. | |
| bottlenecks | Yes | Observed bottlenecks, one item per string. | |
| clientEmail | Yes | Client work email. | |
| constraints | Yes | Hard constraints, e.g. human validation before ERP import. | |
| clientCompany | No | Client company name, if known. | |
| dataAvailable | Yes | Data that can be shared for a prototype, preferably anonymized samples. | |
| openQuestions | Yes | Open questions still to confirm with the client. | |
| opportunities | Yes | Concrete opportunities that follow from the evidence. | |
| currentSystems | Yes | Systems already in use, e.g. email, PDF, Mago Zucchetti. | |
| needCategories | Yes | One or more Frasma need categories that fit the diagnosis. | |
| baselineMetrics | Yes | Baseline metrics before any Frasma work, e.g. minutes per document. | |
| currentWorkflow | Yes | How the process is done today, including people, tools, and handoffs. | |
| desiredOutcomes | Yes | Desired outcomes without invented savings or guarantees. | |
| recommendations | Yes | Recommended next steps for a limited prototype or discovery. | |
| volumesAndFrequency | Yes | Volumes and frequency, e.g. about 40 DDT per day. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| handoff | Yes | ||
| summary | Yes | ||
| completeness | Yes |