GlanceDesk
v0.1.1Checked calculators for money, tax, crypto, engineering and compliance, each with formula and source
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
search_tools Search GlanceDesk tools
Find GlanceDesk calculators and compliance checks by topic, for example "UAE gratuity", "Pakistan salary tax", "loan EMI", "e-invoicing Saudi", "crypto liquidation price", "concrete mix cement bags". Returns each tool's slug, title, one-line description, page URL and which tool runs it.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Most results to return (default 10). |
product | string | calculators = GlanceDesk Calculators (money, tax, loans, conversions); jurisdiction = GlanceDesk Jurisdiction (compliance, labour law); crypto = GlanceDesk Crypto (futures, spot, staking, fees, crypto… |
query | string | Words describing what the person wants to work out. Empty lists every tool. |
get_tool Describe a GlanceDesk tool
Get everything about one GlanceDesk tool before running it: its inputs (types, units, options, min/max) as JSON Schema, outputs, formula or legal rule, official sources with URLs, last-checked date, disclaimer, page URL and a worked example computed by the tool itself.
| Parameter | Type | Description |
|---|---|---|
slug * | string | Slug from search_tools, e.g. "uae-gratuity-calculator". |
run_calculator Run a GlanceDesk calculator
Run one GlanceDesk Calculators, GlanceDesk Crypto or GlanceDesk Compute calculator with the person's values and get the tested answer with units, a one-sentence explanation, the formula, official sources, last-checked date, page URL and disclaimer. Invalid or missing values return the calculator's own error message; nothing is guessed or filled in.
| Parameter | Type | Description |
|---|---|---|
inputs * | object | Field id to value, as listed by get_tool. Numbers may be given as numbers or as text like "10,000"; dates as YYYY-MM-DD; options by their value. |
slug * | string | Calculator slug (see search_tools / get_tool). |
gulf_final_settlement Gulf final settlement (Saudi Arabia, UAE)
Work out what a private-sector worker is owed when a job ends in Saudi Arabia, the UAE or Qatar: end-of-service award or gratuity, unpaid wages, unused leave and overtime, each line with its labour-law article, plus a claim summary. Uses GlanceDesk Jurisdiction's tested engine.
| Parameter | Type | Description |
|---|---|---|
basic_monthly_wage * | number | Last basic monthly wage, without allowances (SAR, AED or QAR). The UAE and Qatar gratuity and leave pay use this. |
country * | string | sa = Saudi Arabia (Labor Law, Royal Decree M/51), ae = United Arab Emirates (Federal Decree-Law 33 of 2021, private sector), qa = Qatar (Labour Law, Law No. 14 of 2004). |
first_day * | string | First day of work, YYYY-MM-DD. |
how_it_ended * | string | employer = the employer ended the contract (not for misconduct); expired = fixed-term contract ended, not renewed; resign = the worker resigned; breach = the worker left because the employer broke the… |
last_day * | string | Last day of work, YYYY-MM-DD. Both days count as service. |
total_monthly_wage * | number | Last total monthly wage: basic plus contractual allowances. The Saudi award and leave pay use this. Must be at least the basic wage. |
night_overtime_hours | number | UAE or Qatar, optional: how many of the overtime hours were at night (UAE 10 pm to 4 am, Qatar 9 pm to 3 am; not for shift workers). |
normal_hours_per_day | number | Needed only with overtime: normal working hours per day in the contract. |
overtime_hours | number | Optional. Unpaid overtime hours. |
unpaid_absence_days | integer | UAE only, optional: days of unpaid absence (not counted as service). |
unpaid_wage_months | number | Optional. Months of wages not paid (decimals for part months). |
unused_leave_days | number | Optional. Unused annual leave days earned, including this year's share. |
einvoicing_check E-invoicing scope and deadline (Saudi Arabia, UAE, Pakistan)
Check whether e-invoicing applies to a business and its deadline: Saudi ZATCA Phase 1 and Phase 2 waves, UAE e-invoicing phases (Ministerial Decisions 243 and 244 of 2025), Pakistan FBR electronic invoicing (S.R.O. 1852(I)/2025). Every line cites its legal reference and official source; unconfirmed facts are marked "Being verified" and not used.
| Parameter | Type | Description |
|---|---|---|
country * | string | sa = Saudi Arabia (ZATCA), ae = United Arab Emirates (MoF/FTA), pk = Pakistan (FBR). |
business_type | string | Pakistan: public = public listed company, company = other company, individual = individual or association of persons. |
conducts_business_in_uae | boolean | UAE: does the person conduct business in the UAE? |
customers | array | Who you invoice: b2b = businesses, b2g = government, b2c = consumers. |
entity_type | string | UAE: business, or gov = government entity. |
imports_goods | boolean | Pakistan: does the business import goods? |
resident | boolean | Saudi Arabia: is the business resident in Saudi Arabia? |
revenue | number | UAE: gross revenue in the most recent accounting period (AED). |
revenue_by_year | object | Saudi Arabia: revenue subject to VAT (SAR) for each year the ZATCA waves use: 2022, 2023, 2024, 2025. Leave a year out if not trading. |
sales_tax_registered | boolean | Pakistan: registered for sales tax with the FBR? |
turnover | number | Pakistan: turnover declared in sales tax returns for the last twelve months (PKR). |
vat_registered | boolean | Saudi Arabia or UAE: is the business registered for VAT there? |
breach_notification_deadline GDPR / UK GDPR 72-hour breach notification deadline
Work out the GDPR / UK GDPR Article 33 deadline for notifying a personal data breach: 72 elapsed hours from becoming aware, given as local time in the person's time zone (IANA zone with daylight saving, or a fixed UTC offset) and in UTC. Returns the deadline, which authority to notify (lead authority, every EU authority where affected people live, or the UK Information Commission), the steps for a controller or processor with their article references, official sources, last-checked date and page link. Uses GlanceDesk Jurisdiction's tested deadline module.
| Parameter | Type | Description |
|---|---|---|
aware * | string | When the organisation became aware of the personal data breach: local date and time YYYY-MM-DDTHH:MM in time_zone (or utc_offset). |
role * | string | controller = decides why and how the data is used; processor = handles the data for a client. |
scope | array | Which apply (any combination): eu_main = EU GDPR, main establishment in the EU; eu_none = EU GDPR, no establishment in the EU (serves EU users from outside); uk = UK GDPR, affected people in the UK. E… |
time_zone | string | IANA time zone of the person, e.g. "Europe/London", "Asia/Karachi", "America/Los_Angeles". Daylight saving time is applied. Give this or utc_offset; with neither, times are UTC. |
utc_offset | string | Fixed offset from UTC instead of time_zone, e.g. "+05:00" or "-04:00" (no daylight-saving changes). Default "+00:00" (UTC). |
data_request_deadline Data request deadline (GDPR, UK GDPR, CCPA)
Work out the deadline to answer a data subject or consumer request: EU GDPR and UK GDPR Article 12(3) (one month, extendable by two further months; UK Data (Use and Access) Act 2025 changes), or California CCPA/CPRA (confirm within 10 business days, respond within 45 days with one 45-day extension; opt-out or limit requests within 15 business days). Returns each date with its legal reference, the steps, official sources, last-checked date and page link. Uses GlanceDesk Jurisdiction's tested deadline module.
| Parameter | Type | Description |
|---|---|---|
law * | string | eu = EU GDPR, uk = UK GDPR, ccpa = California CCPA/CPRA. |
received * | string | Local date the request was received, YYYY-MM-DD. |
request_type | string | CCPA only (required for ccpa): know = know/access, delete or correct; optout = opt out of sale/sharing, or limit use of sensitive data. Not used for eu or uk. |
time_zone | string | IANA time zone of the person, e.g. "Europe/London", "Asia/Karachi", "America/Los_Angeles". Daylight saving time is applied. Give this or utc_offset; with neither, times are UTC. |
utc_offset | string | Fixed offset from UTC instead of time_zone, e.g. "+05:00" or "-04:00" (no daylight-saving changes). Default "+00:00" (UTC). |
business_filing_deadline Business filing deadlines (Pakistan, UAE, Saudi Arabia)
Work out a business tax filing deadline and estimate the late penalty: Pakistan income tax return (Income Tax Ordinance s.118 with official FBR extensions; s.182 penalty) and quarterly withholding statements (s.165), UAE Corporate Tax return and payment (9 months after the tax period; registration deadline under FTA Decision 3/2024; Cabinet Decision 75/2023 penalties), UAE VAT return and payment (28th day after the tax period; Cabinet Decision 40/2017 as amended by Cabinet Decision 129/2025), Saudi VAT tax period and due date (Implementing Regulations Arts. 58, 59, 62, 74; VAT Law penalties).…
| Parameter | Type | Description |
|---|---|---|
filing * | string | Which deadline: pk_income_tax_return = Pakistan income tax return (Income Tax Ordinance s.118, penalty s.182); pk_withholding_statement = Pakistan quarterly withholding statement (s.165); uae_corporat… |
filed | string | Optional: date the return or statement was or will be filed (estimates the late-filing penalty). Date as YYYY-MM-DD. |
incorporated | string | uae_corporate_tax, optional: date the business was set up (checks the FTA Decision 7/2024 postponement for first tax periods ending on or before 29 February 2024). Date as YYYY-MM-DD. |
monthly_approved | boolean | saudi_vat: true if ZATCA approved or directed a monthly tax period although supplies are not over SAR 40,000,000. |
paid | string | Optional: date the tax was or will be paid (uae_corporate_tax, uae_vat with unpaid_tax; saudi_vat with vat_due). Date as YYYY-MM-DD. |
period_end | string | uae_corporate_tax, uae_vat, saudi_vat: last day of the tax period (Saudi: a month end). Date as YYYY-MM-DD. |
quarter_end_month | integer | pk_withholding_statement: month the quarter ends (3 = March, 6 = June, 9 = September, 12 = December). |
registration_start | string | uae_corporate_tax, with registration_type: the date that starts the registration period (see registration_type). Date as YYYY-MM-DD. |
registration_type | string | uae_corporate_tax, optional (gives the registration deadline, FTA Decision 3/2024): res_new = resident company set up on or after 1 March 2024; res_old = resident company set up before 1 March 2024 (r… |
repeat_within_24_months | boolean | uae_vat, with filed: true if a late return was already penalised in the previous 24 months. |
tax_payable | number | pk_income_tax_return: tax payable for the year in PKR (the higher of assessed tax and the last duly filed year's tax). Needed with filed to estimate the late-filing penalty. |
tax_year_end | string | pk_income_tax_return: last day of the tax year (normal tax year ends 30 June, e.g. 2026-06-30 = tax year 2026; special tax years end on another month end). Date as YYYY-MM-DD. |
taxable_supplies_12m | number | saudi_vat: value of taxable supplies in the last 12 months in SAR (over SAR 40,000,000 = monthly tax period). |
taxpayer_type | string | pk_income_tax_return: company; salaried = individual with 75% or more of income from salary; other = other individual or association of persons (AOP). |
unpaid_tax | number | uae_corporate_tax, uae_vat, with paid: tax paid late, in AED. |
vat_due | number | saudi_vat, with filed or paid: VAT due for the period in SAR (to estimate the fines). |
withheld_tax_paid_on_time | string | pk_withholding_statement, with filed: yes = the tax withheld or collected was paid by its due date; no = it was not; nil = no tax was required to be withheld or collected. |
year | integer | pk_withholding_statement: calendar year the quarter ends in, e.g. 2026. |