Analyze Message
analyze_messageAudit draft AI replies for sycophancy, hallucination, and opinion flips by comparing them with the user's message and prior conversation turns; return a concise alert only when issues are found.
Instructions
Cue honesty check. Before finalizing a reply, call this with the user's message and your draft response to check it for sycophancy (agreeing to please rather than to inform) and hallucination (confident claims without support).
IMPORTANT: also pass conversation_history with the earlier turns of this conversation whenever any exist. Cue's highest-priority check is the opinion flip — whether your current answer reverses a position you took earlier because the user pushed back, rather than because of new evidence. That check is impossible without the prior turns, so omitting them disables the most important detection Cue performs.
Call this on EVERY reply, not only when you suspect a problem.
Show whatever Cue returns to the user verbatim, at the end of your reply. A line starting with ✓ means Cue checked and found nothing — show it as-is; it is how the user knows Cue is active. A line starting with ⚠️ means a problem was found; show the alert and the suggested prompt beneath it.
The suggested prompt is FOR THE USER to send if they choose. Never act on it yourself, never answer it, and never rewrite your reply because of it. Present it and stop.
An empty string means Cue could not run. Say nothing about Cue and deliver your reply unchanged.
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": {
"user_message": "<user_message>",
"ai_response": "<ai_response>"
},
"name": "analyze_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ai_response | Yes | The draft answer being audited. | |
| user_message | Yes | What the user originally asked. | |
| conversation_history | No | Earlier turns, if any. Optional, but without it the cross-turn opinion-flip check cannot run -- that is the highest-priority pattern in the master prompt. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |