Skip to main content
Glama

movahedi.ca Privacy Data

Calculate breach notification deadlines

canadian_privacy_breach_deadline_calculator_v1
Read-onlyIdempotent

Breach notification clocks for Canadian privacy regimes, verified against primary sources. Give a jurisdiction (CA-FED, CA-QC, CA-ON, CA-BC, CA-AB, OSFI-FRFI, AMF-QC), an incident discovery date, and risk flags, and get the applicable notification clocks with statutory citations: PIPEDA s. 10.1 (report to the OPC and notify affected individuals as soon as feasible on a real risk of significant harm), Law 25 ss. 3.5 to 3.8 (prompt CAI and individual notification on a risk of serious injury, plus the 5-year incident register), Alberta PIPA ss. 34.1 and 37.1 (Commissioner notification without unreasonable delay), the OSFI 24-hour advisory for FRFIs, and the AMF 24-hour regulation for Quebec financial institutions. Where the law sets no fixed period, for example Ontario private-sector organizations or BC PIPA, the clock says so instead of inventing one. Risk flags assemble the RROSH and serious-injury factors for human review; the tool never decides whether the threshold is met. Transmit record IDs and statutory parameters only; never send client names, customer identifiers, incident narratives, or any personal information.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "jurisdiction": "<jurisdiction>",
      "lang": "<lang>",
      "incident_discovery_date": "<incident_discovery_date>"
    },
    "name": "canadian_privacy_breach_deadline_calculator_v1"
  }
}

Input Schema

NameRequiredDescriptionDefault
langYesResponse language for the flat citation and note fields; every record always carries both languages.
risk_flagsNoRisk flags shaping the threshold factors, for example financial_information or ransomware_or_malicious_actor. They guide the assessment; they never decide it.
jurisdictionYesJurisdiction scoping the clocks: federal PIPEDA, Quebec Law 25, Ontario, British Columbia, Alberta PIPA, OSFI-regulated financial institutions, or AMF-regulated Quebec institutions.
incident_discovery_dateYesDate the incident was discovered, YYYY-MM-DD. Must be a real calendar date and not in the future.

Output Schema

NameRequiredDescriptionDefault
langYesThe language requested.
clocksYesNotification clocks in deterministic order. no_fixed_deadline true means the statute sets no fixed period.
disclaimerYesEducational summary, not legal advice.
regime_nameYesName of the legal regime behind the clocks.
citation_idsYesCorpus record IDs for enforcement actions and guidance. Empty here: the corpus holds no breach-notification enforcement case to cite.
jurisdictionYesThe jurisdiction requested.
corpus_versionYesSemantic version of the movahedi.ca statutory corpus this answer was drawn from, for example v2026.12.0. Pin it when citing; when it changes, re-read the affected resources and the change log at https://movahedi.ca/changelog/.
allowed_agent_scopeYesWhat an agent may prepare (draft only, human signs).
statutory_provisionsYesStatutory provisions behind the clocks, each with a citation status.
threshold_assessmentYesThreshold factors assembled for human review; the tool never decides the threshold.
incident_discovery_dateYesThe discovery date supplied, echoed back.
prohibited_agent_actionsYesWhat an agent must never do without a human signature.
french_completeness_statusYesReview state of the French text.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Beyond the readOnly/idempotent annotations, the description discloses real behavioral traits: results are verified against primary sources, jurisdictions without a fixed statutory period (Ontario private sector, BC PIPA) return an explicit 'no fixed period' rather than an invented deadline, and the tool never adjudicates the RROSH/serious-injury threshold. It also carries a data-minimization constraint (record IDs and statutory parameters only, no client names, narratives, or personal information) that an agent could not infer from annotations or schema.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The action, inputs, and output are front-loaded in the first sentence, and the constraints follow in a logical order. The middle stretch enumerating every statutory provision is dense and longer than needed for tool selection, but each clause is substantive rather than filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return formatting need not be described, and the description instead covers what matters for correct invocation: jurisdiction scope, risk-flag semantics, the honest no-fixed-period case, and the human-review boundary. Combined with a fully documented 4-parameter schema and read-only annotations, an agent has everything needed to call this safely.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the baseline is 3; the description adds meaning above that for risk_flags by explaining they populate RROSH and serious-injury factors for human review rather than changing the outcome. Jurisdiction values are glossed by naming the underlying regime for each code, though lang and the discovery-date constraints are left entirely to the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb and resource: computing breach notification clocks for enumerated Canadian privacy regimes and returning statutory citations. It names the exact regimes (PIPEDA s. 10.1, Law 25 ss. 3.5-3.8, Alberta PIPA ss. 34.1/37.1, OSFI 24-hour advisory, AMF 24-hour regulation), which clearly separates it from sibling lookup tools such as canadian_privacy_consequential_action_lookup_v1 or privacy_law25_requirements.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It states the required inputs (jurisdiction, incident discovery date, risk flags) and what the agent receives back, giving a clear usage context. It also sets an important boundary: risk flags assemble factors for human review and the tool never decides whether the threshold is met. What is missing is explicit routing versus alternatives (e.g. when to use privacy_law25_requirements instead), but the usage picture is otherwise clear.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources