# Run history & re-run with your AI assistant (/docs/automations/run-history/mcp)

Connect the [MCP server](/docs/mcp#quickstart), then just ask.

<Tools names={["get_lead_automation_history", "retrigger_automations", "rerun_automation_for_lead", "get_automation_runs"]} />

## Use case [#use-case]

> Why wasn’t this lead sent to HubSpot?

<McpToolCall name="get_lead_automation_history">

```json
{
  "leadId": "6530c1d2e3f4a5b6c7d8e9f2"
}
```

</McpToolCall>
