OwlMetry
MCP

Jobs

List, trigger, and manage background jobs via MCP tools.

Background jobs are asynchronous server-side tasks with progress tracking. Used for long-running operations like bulk data syncs. Only one instance of each job type (per project) can run at a time. See Background Jobs concepts for details.

list-jobs

List background job runs for a team. Supports filtering by type, status, project, and date range.

ParameterTypeRequiredDescription
team_idUUIDYesThe team ID
job_typestringNoFilter by job type (e.g., revenuecat_sync)
statusstringNopending, running, completed, failed, or cancelled
project_idUUIDNoFilter by project
sincestringNoStart time
untilstringNoEnd time
cursorstringNoPagination cursor
limitnumberNoMax results (default 50)

get-job

Get details of a specific job run, including progress percentage and result.

ParameterTypeRequiredDescription
run_idUUIDYesThe job run ID

trigger-job

Trigger a background job. Requires jobs:write permission.

ParameterTypeRequiredDescription
team_idUUIDYesThe team ID
job_typestringYesJob type (e.g., revenuecat_sync)
project_idUUIDConditionalRequired for project-scoped jobs
paramsobjectNoJob-specific parameters
notifybooleanNoSend email notification on completion

Attempting to trigger a duplicate (same type + project already running/pending) returns an error.

cancel-job

Cancel a running job. Only works on jobs with running status. Cancellation is cooperative — the job handler checks for cancellation and returns early.

ParameterTypeRequiredDescription
run_idUUIDYesThe job run ID to cancel

Ready to get started?

Connect your agent via MCP or CLI and start tracking.