Skip to content

Track deadlines

When the notification is deemed made (surtida) and when its term starts and ends, an estimate: the judge decides.

This is the recipe the MCP server gives AI assistants, as is. It is in English because models follow it best that way; the assistant answers you in your language.

An assistant reads it with docs({uri:"docs://recipes/track-deadlines"})

docs://recipes/track-deadlines
docs://recipes/track-deadlines — when each notification is deemed made and when its term ends

Use when the lawyer asks when the demandado's term starts or ends, which terms end this week, or
when a notification counts as done (surtida). Never compute a deadline yourself: Notificado's dates
skip weekends, festivos, vacancia judicial and recorded court closures, and even those are an
ESTIMATE — the judge decides.

1. whoami({})
   → orgId, scopes
   scopes lack "deadlines:read"? Stop: the token cannot read terms.
   skip if you already hold orgId

2. manage_resource({resource:"deadlines", action:"listDeadlines", params:{orgId:"<orgId>", from:"<YYYY-MM-DD>", to:"<YYYY-MM-DD>", status:"computed", limit:100}})
   → one row per notification × recipient: surtidaOn, termStartsOn, termEndsOn (YYYY-MM-DD,
     America/Bogota), status, calendarVersion, inputsSha256, disclaimerKey
   from/to filter on the vencimiento (termEndsOn), inclusive. One case only? Put caseId in params
   instead of from/to. Soonest vencimiento first.
   limit rows came back? There may be more: call again with after:"<last row id>" added, at most
   5 pages, then tell the lawyer which range you covered.

3. manage_resource({resource:"deadlines", action:"listDeadlines", params:{orgId:"<orgId>", status:"blocked_bounce"}})
   → recipients whose delivery bounced: NOT notified, no dates
   Any rows? Say so first, before any date: docs://recipes/handle-a-bounce.

4. Report each term as: surtida <surtidaOn>, term <termStartsOn> to <termEndsOn>, adding every
   time "an estimate; the judge decides". When the lawyer will rely on one, cite calendarVersion
   and inputsSha256 with it.

Done when the lawyer has the dates they asked for, each marked as an estimate, and every blocked
recipient named.

Tips
- A juzgado closed on days of its own (paro, cierre)? Those the firm recorded are listed by
  manage_resource({resource:"deadlines", action:"listCourtClosures", params:{orgId:"<orgId>"}})
  and already skipped. Recording one is the lawyer's act on https://www.notificado.co/plazos.
- The lawyer can subscribe a calendar app to the same terms from /plazos (an ICS address).
- Terms start from the delivery ("accepted"), never from an opening, which is an indicio only.

All recipes · Connect an assistant