# run-temporal-association

`station__microgram__run-temporal-association` · external (needs EXECUTION_BACKEND_URL configured) · domain `microgram` · pv-relevance `pv-core`

Assess temporal association between drug exposure and adverse event. Core Naranjo criterion. Uses pre-computed within_range boolean and fixed time windows per ICH E2A.

> **Note:** This tool routes through an external execution backend. If `EXECUTION_BACKEND_URL` is unset on the server, calls return JSON-RPC error `-32603 "Tool execution backend not configured"`. Tools with `backend: native` execute in-process and are always callable.

## Agent metadata

- `idempotent`: unknown
- `read_only`: unknown
- `expected_latency_ms`: unknown (not yet contract-tested)
- `cost_tokens_estimate`: unknown

## Input schema

- `event_before_drug` *boolean* (required) — Input parameter: event_before_drug
- `drug_start_to_event_days` *integer* (required) — Input parameter: drug_start_to_event_days
- `within_known_onset_range` *boolean* (required) — Input parameter: within_known_onset_range

## Example call

```json
POST /api/mcp
Content-Type: application/json

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "station__microgram__run-temporal-association",
    "arguments": {
      "event_before_drug": false,
      "drug_start_to_event_days": 0,
      "within_known_onset_range": false
    }
  }
}
```

## Related

- [/tools](/tools) — all 3062 tools
- [/tools/microgram__run-temporal-association](/tools/microgram__run-temporal-association) — HTML page
- [/tools/microgram__run-temporal-association/json](/tools/microgram__run-temporal-association/json) — JSON form (agent-friendly)
- [/api/mcp](/api/mcp) — endpoint
- [/AGENTS.md](/AGENTS.md) — agent guide
