Seguir los plazos
Cuándo se entiende surtida la notificación y cuándo empieza y vence el término, una estimación: el juez decide.
Esta es la receta que el servidor MCP entrega a los asistentes de IA, tal cual. Está en inglés porque los modelos la siguen mejor así; el asistente le responde en su idioma.
Un asistente la lee con docs({uri:"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.