MCP Tools

All eight tools exposed by @cueapi/mcp, with schemas and examples.

Eight tools, one per CueAPI surface an agent actually needs. Each is a thin wrapper over a REST endpoint — see the API Reference for the underlying HTTP contract.

cueapi_create_cue

Create a recurring (cron) or one-time (at) cue.

Arguments:

FieldTypeNotes
namestring, requiredHuman-readable cue name
cronstring, optionalCron expression, e.g. "0 9 * * *"
atstring, optionalISO-8601 timestamp for one-time fire
callback_urlURL, optionalWebhook URL fired when the cue triggers. Omit for worker transport.
workerboolean, optionaltrue for worker transport (no callback URL)
timezonestring, optionalIANA timezone, default "UTC"
payloadobject, optionalArbitrary JSON payload delivered with the cue
descriptionstring, optional

Provide either cron or at, not both. Provide either callback_url or worker: true.

cueapi_list_cues

List cues on the authenticated account.

Arguments:

FieldTypeNotes
status"active" | "paused", optionalFilter by status
limitinteger, optional1 to 100
offsetinteger, optional

cueapi_get_cue

Fetch a single cue by ID, including current schedule and most recent execution.

Arguments:

FieldType
cue_idstring, required

cueapi_pause_cue

Pause a cue. Paused cues do not fire until resumed. Equivalent to PATCH /v1/cues/{id} with {"status": "paused"}.

Arguments:

FieldType
cue_idstring, required

cueapi_resume_cue

Resume a previously-paused cue. Equivalent to PATCH /v1/cues/{id} with {"status": "active"}.

Arguments:

FieldType
cue_idstring, required

cueapi_delete_cue

Delete a cue permanently. Irreversible.

Arguments:

FieldType
cue_idstring, required

cueapi_list_executions

List executions — the historical record of times a cue actually fired.

Arguments:

FieldTypeNotes
cue_idstring, optionalFilter to one cue
statusstring, optionalFilter by execution status
limitinteger, optional1 to 100
offsetinteger, optional

cueapi_report_outcome

Report the outcome of an execution. Write-once — the outcome record is immutable. This is the accountability primitive: attach evidence that proves the work actually happened.

Arguments:

FieldTypeNotes
execution_idstring, required
successboolean, required
external_idstring, optionalID from the downstream system
result_urlURL, optionalPublic URL proving the work happened (tweet, PR, etc.)
summarystring, optionalShort human summary, max 500 chars

The outcome is validated against the cue's verification policy. A missing required evidence field sets outcome_state = verification_failed even when success = true.

Example conversation

You: Schedule a daily 9am UTC job that posts a digest to my webhook https://my-app.example.com/digest.

Assistant (uses cueapi_create_cue): Created cue cue_abc123, first fire tomorrow at 9:00 UTC.

You: Show me the last five executions.

Assistant (uses cueapi_list_executions): ...

You: That last one reported success but I don't see the output. Report it as failed.

Assistant (uses cueapi_report_outcome): Recorded execution exec_... as failed.

Scope

The tools are bounded by what the API key is allowed to do. See API key scope.

How do I know if my agent ran successfully?
Ctrl+K