Metric compare
metric_compareDeterministically compares one non-negative observed metric with a positive target. Use ONLY when the person explicitly asks for the numeric difference, percentage gap or target-attainment percentage. A normal performance-vs-target answer should state both values and above/below without this extra call. Returns observed, target, signed difference, relative difference percent, attainment percent and above/below/equal. Do not use it for causal claims or trends. MCP: use the input object for tool arguments. UI reports and questions are returned as structured content. Free: MCP tool calls use no Adrails credits.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | ||
| accountIds | No | Optional account selection; can only narrow this workspace's access. | |
| userStatement | No | Required for launch_brief: the latest verbatim user request or free-text answer. Otherwise optional user-provided context, treated as an unverified user statement, never permission or verified platform evidence. | |
| idempotencyKey | No | Required for mutations. Reuse the same key only when retrying the exact same call; a completed outcome is applied once. |