MCPDocumentation
On this page

Operations: planning, absences and cover

Uncovered classes

ops_uncovered
Read
Permission required
ops.substitutions.view

When to use it

Classes waiting for cover (open cover requests) by date and urgency, like the panel's Substitutions inbox. Each carries its request_id to get candidates and assign.

Input

FieldTypeDescription
date_fromstringDefault today
date_tostringDefault +7 days (max 62)
location_idintegerCentre (id). Without it: every centre you can see
urgent_onlybooleanOnly those starting soon (the centre's urgency threshold)
organization_idintegerOptional: can only be the key's organization

Every tool also accepts lang (es | en) for the language of the text answer.

Output

FieldTypeDescription
fromRequiredstring
toRequiredstring
totalRequirednumber
urgentRequirednumber
requestsRequiredobject[]
requests[].request_idRequirednumber
requests[].occurrence_idRequiredstring
requests[].session_idRequirednumber
requests[].dateRequiredstring
requests[].startRequiredstring | null
requests[].endRequiredstring | null
requests[].activityRequiredstring | null
requests[].spaceRequiredstring | null
requests[].location_idRequirednumber | null
requests[].missing_worker_idRequirednumber | null
requests[].missing_workerRequiredstring | null
requests[].reasonRequiredstring | null
requests[].absence_idRequirednumber | null
requests[].statusRequiredstringopen | offering | escalated | covered | review | cancelled
requests[].urgentRequiredboolean
requests[].hours_untilRequirednumber
requests[].covered_by_idRequirednumber | null
requests[].covered_byRequiredstring | null

Examples

Example 1: What is still uncovered this week

Call

JSON
{
  "name": "ops_uncovered",
  "arguments": {
    "date_from": "2026-11-23",
    "date_to": "2026-11-29"
  }
}

Equivalent JSON-RPC call (POST /mcp)

JSON
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "ops_uncovered",
    "arguments": {
      "date_from": "2026-11-23",
      "date_to": "2026-11-29"
    }
  }
}