Skip to content

Tools Reference

Saeed Yari edited this page Dec 2, 2026 · 1 revision

Tools Reference

The server has 4 read-only tools and 1 resource. You don't need to name the tools: ask in plain language and the assistant picks them from their descriptions.

Every tool result starts with "advisory_only": true and ends with a disclaimer and a registry block (schema_version, last_updated). Codes are ISO 3166-1 alpha-2 (GB, DE, BR) or ISO 3166-2 (US-CA, CA-QC), plus EU, US-FEDERAL, AE-DIFC and AE-ADGM; UK and EL are accepted for GB and GR, and case, spaces and underscores don't matter (us_ca works). How a code without a record of its own is answered is on Jurisdictions and Coverage.

Obligations

get_jurisdiction_compliance

"What does LGPD require?", "What applies to children's data in Quebec?"

Parameter Values
jurisdiction_code A code, as above
data_category standard (default), sensitive or children

Returns jurisdiction: the full record, with the framework and regulator, consent_model (opt-in, opt-out or notice), lawful_bases_required, dsar_sla_days and dsar_notes, breach_notification_hours and breach_notes, dpo_mandatory_conditions, mandatory_disclosures, mandatory_ui_controls, sensitive_data_consent, children_age_threshold, max_penalty, the consent headline (profile, honor_gpc_signal), the transfer rules, and effective_date, source_url, sources and last_verified. category_rules holds the rules for the data category you asked about. A routing note appears when the answer is not an exact match.

US on its own returns no record. You get needs_subnational_resolution: true, a message, the 25 state options and the federal_baseline (HIPAA, COPPA, GLBA), so the assistant can ask which state applies.

Consent banners

get_consent_requirements

"What does our cookie banner need in France?", "Do we have to honor GPC in Colorado?"

Parameter Values
jurisdiction_code A code, as above
tracking_type essential, analytics, advertising or ai_training

Returns opt_in_required (consent before it starts), opt_out_link_required (a visible opt-out, such as "Do Not Sell or Share"), honor_gpc_signal (whether Global Privacy Control and other universal opt-out signals must be honored) with gpc_notes, notes on the rule, the banner_elements the banner or notice must show, plus the consent_model and mandatory_ui_controls.

For example, an ad pixel for California users:

{"opt_in_required": false, "opt_out_link_required": true, "honor_gpc_signal": true}

Cross-border transfers

evaluate_cross_border_transfer

"Can we host UK customer data in the US?", "Can our Chinese subsidiary send HR data to Germany?"

Parameter Values
origin_code Where the data is (the law that decides)
destination_code Where it goes
data_category standard (default), sensitive or children

Returns adequacy_status:

Status Meaning
adequate The data may go without an extra mechanism (adequacy decision, same country, or a law that only restricts named destinations)
conditional Adequate only if a condition holds, for example a US recipient certified under the Data Privacy Framework
restricted A mechanism is needed: the result lists them in order
prohibited The law bans it for this data category, such as bulk sensitive data from the US to a country of concern

Also returns risk_level (low, medium or high), the reason, required_mechanisms, warnings (a destination that is partly prohibited), the origin's origin_transfer_notes and origin_localization, and its sources. The transfer is judged by the origin's law; the destination record is shown for context only.

Comparing jurisdictions

compare_jurisdictions

"We launch in the UK, EU, California and Brazil: what's the strictest bar?"

Parameter Values
jurisdiction_codes A list of 2 to 30 codes
data_category standard (default), sensitive or children

Returns jurisdictions (one row each), strictest and differences (the fields that differ). strictest is the highest common denominator: the strictest consent model and sensitive-data consent, whether any jurisdiction needs a lawful basis, the shortest DSAR and breach deadlines, the highest children's age, whether any needs GPC support, opt-in per tracking type, and every DPO condition and mandatory UI control. Each value comes with from, the jurisdictions that set it. Build to it and you meet all of them for those fields.

Resource

privacy://registry/frameworks: the index of every jurisdiction, with its code, name, region, phase, status, framework, regulator and its URL, effective date, source_url, last_verified and, for EU member states, inherits. It also carries advisory_only and the registry's schema version and update date.

Limits and errors

  • Each text parameter is capped at 40 characters and a list at 30 items.
  • A wrong value is a clear error and the session carries on: for example "… is not a jurisdiction code. Use ISO 3166-1 alpha-2 (GB, BR, IN), ISO 3166-2 (US-CA, CA-QC) or one of EU, US-FEDERAL, AE-DIFC, AE-ADGM.", or "tracking_type must be one of: essential, analytics, advertising, ai_training."