[{"name":"health_check","title":"Health check","description":"Reports whether each Falaj tool is currently working against uaeu.ac.ae (ok, degraded or broken, from the nightly canaries), when UAEU last changed a watched page, and the page monitors' last checks. Reads no UAEU page. Example: health_check({})","inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","properties":{}},"outputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","properties":{"checked_at":{"type":"string"},"tools":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"object","properties":{"status":{"type":"string","enum":["ok","degraded","broken"]},"last_ok_at":{"type":["string","null"]},"last_checked_at":{"type":["string","null"]},"detail":{"type":["string","null"]}},"required":["status","last_ok_at","last_checked_at","detail"],"additionalProperties":false}},"site_changed_at":{"type":["string","null"]},"monitors":{"type":"array","items":{"type":"object","properties":{"page":{"type":"string"},"last_check_at":{"type":["string","null"]},"last_outcome":{"type":["string","null"]}},"required":["page","last_check_at","last_outcome"],"additionalProperties":false}},"spend":{"type":"object","properties":{"used_usd":{"type":"number"},"share_usd":{"type":"number"},"paused":{"type":"boolean"}},"required":["used_usd","share_usd","paused"],"additionalProperties":false},"source_url":{"type":"string"},"read_at":{"type":"string"},"method":{"type":"string","enum":["fetch","search","agent_cached","status"]},"cached":{"type":"boolean"},"ttl_seconds":{"type":"number"}},"required":["checked_at","tools","site_changed_at","monitors","spend","source_url","read_at","method","cached"],"additionalProperties":false},"annotations":{"readOnlyHint":true,"idempotentHint":true,"destructiveHint":false,"openWorldHint":true}},{"name":"search_courses","title":"Search courses","description":"Searches the UAEU course catalogue by course code (ECON105), code prefix (ECON) or title words (international finance). Best matches come first: exact code, then code prefix, then titles holding every query word, then titles holding any of them; ties are ordered by code. `college` keeps only courses listed under a catalogue heading that contains that text (case-insensitive substring): \"College of Science\" gives that college, but \"science\" also matches \"College of Humanities and Social Sciences\", and \"education\" matches both \"College of Education\" and \"General Education\" (the catalogue's tenth group, which holds HSR140 and HSR150). `limit` is 1 to 50, default 20. Returns {courses: [{code, title, college, url}], total_matches (before the limit), catalogue_read_at} plus source_url, read_at, method, cached and ttl_seconds. Reads the live UAEU course catalogue page with TinyFetch (1 URL; TinyFish may serve a copy up to an hour old). Example: search_courses({\"query\": \"international finance\", \"college\": \"business\", \"limit\": 5})","inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","properties":{"query":{"type":"string","minLength":1,"description":"A course code (ECON105), a code prefix (ECON) or title words (machine learning)"},"college":{"description":"Case-insensitive substring of the catalogue's college heading, e.g. \"College of Science\" or \"business\"","type":"string"},"limit":{"description":"How many courses to return, default 20","type":"integer","minimum":1,"maximum":50}},"required":["query"]},"outputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","properties":{"courses":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"},"title":{"type":"string"},"college":{"type":"string"},"url":{"type":["string","null"]}},"required":["code","title","college","url"],"additionalProperties":false}},"total_matches":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"catalogue_read_at":{"type":"string"},"source_url":{"type":"string"},"read_at":{"type":"string"},"method":{"type":"string","enum":["fetch","search","agent_cached","status"]},"cached":{"type":"boolean"},"ttl_seconds":{"type":"number"}},"required":["courses","total_matches","catalogue_read_at","source_url","read_at","method","cached"],"additionalProperties":false},"annotations":{"readOnlyHint":true,"idempotentHint":true,"destructiveHint":false,"openWorldHint":true}},{"name":"get_course","title":"Get a course","description":"Reads one UAEU course by its code: title, college, description, credit hours, learning outcomes and prerequisites (when the page lists them). UAEU's course pages carry the next course too; only the requested one is returned. An unknown code is NOT_FOUND (search_courses finds codes). Returns {code, title, college, description, credit_hours, learning_outcomes, prerequisites, url} plus source_url (the course page), read_at, method, cached and ttl_seconds. Reads the live UAEU course catalogue page and then the course's own page with TinyFetch (2 URLs; TinyFish may serve copies up to an hour old). Example: get_course({\"code\": \"HSR140\"})","inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","properties":{"code":{"type":"string","pattern":"^[A-Za-z]{2,5}\\d{3,4}[A-Za-z]?$","description":"A course code such as HSR140 or ECON105 (any case)"}},"required":["code"]},"outputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","properties":{"code":{"type":"string"},"title":{"type":"string"},"college":{"type":["string","null"]},"description":{"type":"string"},"credit_hours":{"type":["number","null"]},"learning_outcomes":{"type":"array","items":{"type":"string"}},"prerequisites":{"type":"array","items":{"type":"string"}},"url":{"type":"string"},"source_url":{"type":"string"},"read_at":{"type":"string"},"method":{"type":"string","enum":["fetch","search","agent_cached","status"]},"cached":{"type":"boolean"},"ttl_seconds":{"type":"number"}},"required":["code","title","college","description","credit_hours","learning_outcomes","prerequisites","url","source_url","read_at","method","cached"],"additionalProperties":false},"annotations":{"readOnlyHint":true,"idempotentHint":true,"destructiveHint":false,"openWorldHint":true}},{"name":"list_programs","title":"List programmes","description":"Lists the offerings on UAEU's undergraduate programmes page (about 75: bachelor's degrees, a doctorate, minors and credit-bearing micro-credentials), each with its name, college, kind and page URL. `kind` is bachelor, doctorate, minor, micro_credential or other, from the name's prefix. Names and colleges come from Falaj's programme map, which the nightly health run rebuilds from the programme pages (map_built_at says when); a programme not in the map yet has its name made from its URL and college null, and a `college` filter does not match it. `college` keeps programmes whose college name contains that text (case-insensitive substring): \"College of Science\" gives that college, but \"science\" also matches \"College of Humanities and Social Sciences\". `query` keeps names that contain every word given. Returns {programs: [{name, college, kind, url}], total (after the filters), map_built_at} plus source_url, read_at, method, cached and ttl_seconds. Reads the live UAEU programmes page and its links with TinyFetch (1 URL; no programme page is read). Example: list_programs({\"kind\": \"bachelor\", \"college\": \"College of Science\"})","inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","properties":{"college":{"description":"Case-insensitive substring of the college name, e.g. \"College of Science\"","type":"string"},"query":{"description":"Words that must all appear in the programme name, e.g. \"data science\"","type":"string"},"kind":{"description":"bachelor, doctorate, minor, micro_credential or other","type":"string","enum":["bachelor","doctorate","minor","micro_credential","other"]}}},"outputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","properties":{"programs":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"college":{"type":["string","null"]},"kind":{"type":"string","enum":["bachelor","doctorate","minor","micro_credential","other"]},"url":{"type":"string"}},"required":["name","college","kind","url"],"additionalProperties":false}},"total":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"map_built_at":{"type":["string","null"]},"source_url":{"type":"string"},"read_at":{"type":"string"},"method":{"type":"string","enum":["fetch","search","agent_cached","status"]},"cached":{"type":"boolean"},"ttl_seconds":{"type":"number"}},"required":["programs","total","map_built_at","source_url","read_at","method","cached"],"additionalProperties":false},"annotations":{"readOnlyHint":true,"idempotentHint":true,"destructiveHint":false,"openWorldHint":true}},{"name":"get_program","title":"Get a programme","description":"Reads one UAEU undergraduate programme page: name, college, kind (bachelor, doctorate, minor, micro_credential or other), required credit hours, description, objectives and the degree plan (every course with its code, title and credit hours; lists are empty when a page has no such section). `name_or_url` is a programme name, matched fuzzily against Falaj's programme map (case, punctuation and a leading \"Bachelor of Science in\" do not matter), or a programme page URL from list_programs (https://www.uaeu.ac.ae/en/catalog/undergraduate/programs/<slug>.shtml; any other URL is INVALID_INPUT). A name that fits several programmes (\"Bachelor of Science\") is NOT_FOUND with near_matches listing them, never the first one: call again with one of them. Returns {name, college, kind, credit_hours, description, objectives, degree_plan: [{code, title, credit_hours}], url} plus source_url, read_at, method, cached and ttl_seconds. Reads the live programme page with TinyFetch (1 URL; TinyFish may serve a copy up to an hour old). Example: get_program({\"name_or_url\": \"Mathematics of Data Science\"})","inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","properties":{"name_or_url":{"type":"string","minLength":2,"description":"A programme name (\"Mathematics of Data Science\") or a programme page URL from list_programs"}},"required":["name_or_url"]},"outputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","properties":{"name":{"type":"string"},"college":{"type":["string","null"]},"kind":{"type":"string","enum":["bachelor","doctorate","minor","micro_credential","other"]},"credit_hours":{"type":["number","null"]},"description":{"type":"string"},"objectives":{"type":"array","items":{"type":"string"}},"degree_plan":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"},"title":{"type":"string"},"credit_hours":{"type":["number","null"]}},"required":["code","title","credit_hours"],"additionalProperties":false}},"url":{"type":"string"},"source_url":{"type":"string"},"read_at":{"type":"string"},"method":{"type":"string","enum":["fetch","search","agent_cached","status"]},"cached":{"type":"boolean"},"ttl_seconds":{"type":"number"}},"required":["name","college","kind","credit_hours","description","objectives","degree_plan","url","source_url","read_at","method","cached"],"additionalProperties":false},"annotations":{"readOnlyHint":true,"idempotentHint":true,"destructiveHint":false,"openWorldHint":true}},{"name":"list_events","title":"List events","description":"Lists the highlighted events on UAEU's events page (uaeu.ac.ae/en/events): a handful of featured events, each with its date, title and its own page. This is the page's highlights, not a full calendar, and it may include events that have already happened; the events come in the page's own order. `from` and `to` (YYYY-MM-DD, both days included) keep the events in that range; `limit` is 1 to 50, default 20. Returns {events: [{date (YYYY-MM-DD), title, url (null when the page's address cannot be matched)}], total (after the date range, before the limit), note} plus source_url, read_at, method, cached and ttl_seconds. Reads the live UAEU events page and its links with TinyFetch (1 URL; TinyFish may serve a copy up to an hour old). Example: list_events({\"from\": \"2026-02-01\", \"to\": \"2026-02-28\"})","inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","properties":{"from":{"description":"First day to include, YYYY-MM-DD","type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"to":{"description":"Last day to include, YYYY-MM-DD","type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"limit":{"description":"How many events to return, default 20","type":"integer","minimum":1,"maximum":50}}},"outputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","properties":{"events":{"type":"array","items":{"type":"object","properties":{"date":{"type":"string"},"title":{"type":"string"},"url":{"type":["string","null"]}},"required":["date","title","url"],"additionalProperties":false}},"total":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"note":{"type":"string"},"source_url":{"type":"string"},"read_at":{"type":"string"},"method":{"type":"string","enum":["fetch","search","agent_cached","status"]},"cached":{"type":"boolean"},"ttl_seconds":{"type":"number"}},"required":["events","total","note","source_url","read_at","method","cached"],"additionalProperties":false},"annotations":{"readOnlyHint":true,"idempotentHint":true,"destructiveHint":false,"openWorldHint":true}},{"name":"academic_deadlines","title":"Academic deadlines","description":"Reads UAEU's withdrawal deadlines and tuition refund schedule (Student Account Office): for each payment system (full-semester, monthly, quarterly) and period, the dates between which a course withdrawal or registration suspension is refunded, and the refund percentage. After a row's end date the student owes the full tuition. Dates are the semester the page currently describes. Returns {deadlines: [{label (the system and period, then the status, e.g. \"Courses Under the Full-Semester System: Course Withdrawal\"), date_or_rule (the dates as the page writes them), refund_percent, start_date, end_date (ISO YYYY-MM-DD, null when the page gives a rule rather than a date)}], policy_summary (the page's opening paragraph), url} plus source_url, read_at, method, cached and ttl_seconds. Reads the live UAEU page with TinyFetch (1 URL; TinyFish may serve a copy up to an hour old). Example: academic_deadlines({})","inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","properties":{}},"outputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","properties":{"deadlines":{"type":"array","items":{"type":"object","properties":{"label":{"type":"string"},"date_or_rule":{"type":"string"},"refund_percent":{"type":["number","null"]},"start_date":{"type":["string","null"]},"end_date":{"type":["string","null"]}},"required":["label","date_or_rule","refund_percent","start_date","end_date"],"additionalProperties":false}},"policy_summary":{"type":"string"},"url":{"type":"string"},"source_url":{"type":"string"},"read_at":{"type":"string"},"method":{"type":"string","enum":["fetch","search","agent_cached","status"]},"cached":{"type":"boolean"},"ttl_seconds":{"type":"number"}},"required":["deadlines","policy_summary","url","source_url","read_at","method","cached"],"additionalProperties":false},"annotations":{"readOnlyHint":true,"idempotentHint":true,"destructiveHint":false,"openWorldHint":true}},{"name":"find_faculty","title":"Find faculty","description":"Finds UAEU faculty members by name, department or research topic with TinySearch, restricted to uaeu.ac.ae, and returns the faculty profile pages it finds: for each, the name as the search result shows it (a leading \"Dr.\" or \"Prof.\" moves to `title`), the college taken from the profile address, and the profile page URL. It lists what the search returns (usually a handful of people), so a person who is not among the results may still work at UAEU; try the name as the website writes it. `college` keeps people whose college name contains that text (case-insensitive substring): \"medicine\" matches the College of Medicine and Health Sciences, and the other colleges are named as in list_programs. No match at all is NOT_FOUND. Returns {people: [{name, title, college, profile_url}], total} plus source_url (UAEU's faculty directory), read_at, method (search) and cached. Searches with TinySearch (no page is fetched). Example: find_faculty({\"query\": \"Amal Example\", \"college\": \"medicine\"})","inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","properties":{"query":{"type":"string","minLength":2,"description":"A person's name, a department or a research topic, e.g. \"Amal Example\" or \"machine learning\""},"college":{"description":"Case-insensitive substring of the college name, e.g. \"engineering\" or \"College of Science\"","type":"string"}},"required":["query"]},"outputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","properties":{"people":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"title":{"type":["string","null"]},"college":{"type":["string","null"]},"profile_url":{"type":"string"}},"required":["name","title","college","profile_url"],"additionalProperties":false}},"total":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"source_url":{"type":"string"},"read_at":{"type":"string"},"method":{"type":"string","enum":["fetch","search","agent_cached","status"]},"cached":{"type":"boolean"},"ttl_seconds":{"type":"number"}},"required":["people","total","source_url","read_at","method","cached"],"additionalProperties":false},"annotations":{"readOnlyHint":true,"idempotentHint":true,"destructiveHint":false,"openWorldHint":true}},{"name":"get_faculty_profile","title":"Get a faculty profile","description":"Reads one UAEU faculty profile page (name, title, college, department, email if shown, research interests and education). The page is JavaScript-rendered, so Falaj starts a capped TinyAgent run when the profile is not yet cached and answers {status: \"reading\", eta_seconds: 90} until that run finishes; call again then. The profile_url must be a https://www.uaeu.ac.ae/…/profile.shtml?email=… address (find_faculty returns those). Returns the profile fields plus source_url, read_at, method (agent_cached), cached and stale, or the reading shape. Example: get_faculty_profile({\"profile_url\": \"https://www.uaeu.ac.ae/en/cmhs/profile.shtml?email=a.example@uaeu.ac.ae\"})","inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","properties":{"profile_url":{"type":"string","format":"uri","description":"A UAEU faculty profile URL from find_faculty"}},"required":["profile_url"]},"outputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","properties":{"name":{"type":"string"},"title":{"type":["string","null"]},"college":{"type":["string","null"]},"department":{"type":["string","null"]},"email":{"type":["string","null"]},"research_interests":{"type":"array","items":{"type":"string"}},"education":{"type":"array","items":{"type":"string"}},"profile_url":{"type":"string"},"stale":{"type":"boolean"},"status":{"type":"string","const":"reading"},"eta_seconds":{"type":"number"},"retry":{"type":"string"},"source_url":{"type":"string"},"read_at":{"type":"string"},"method":{"type":"string","enum":["fetch","search","agent_cached","status"]},"cached":{"type":"boolean"},"ttl_seconds":{"type":"number"}},"additionalProperties":false},"annotations":{"readOnlyHint":true,"idempotentHint":true,"destructiveHint":false,"openWorldHint":true}},{"name":"get_academic_calendar","title":"Get the academic calendar","description":"Reads UAEU's student academic calendar for one academic-year tab (default: the current year, which flips in August). Each dated row is returned under its semester heading with an ISO date (the year comes from the tab: August–December the first year, January–July the second). The page is JavaScript-rendered, so a first read starts a capped TinyAgent run and answers {status: \"reading\", eta_seconds: 90} until that run finishes; call again then. Cached reads older than 14 days set stale true. Example: get_academic_calendar({\"academic_year\": \"2026-2027\"})","inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","properties":{"academic_year":{"description":"An academic year tab such as \"2026-2027\"; omitted uses the current one","type":"string"}}},"outputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","properties":{"academic_year":{"type":"string"},"semesters":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"items":{"type":"array","items":{"type":"object","properties":{"date":{"type":"string"},"date_text":{"type":"string"},"title":{"type":"string"}},"required":["date","date_text","title"],"additionalProperties":false}}},"required":["name","items"],"additionalProperties":false}},"dropped":{"type":"number"},"stale":{"type":"boolean"},"status":{"type":"string","const":"reading"},"eta_seconds":{"type":"number"},"retry":{"type":"string"},"source_url":{"type":"string"},"read_at":{"type":"string"},"method":{"type":"string","enum":["fetch","search","agent_cached","status"]},"cached":{"type":"boolean"},"ttl_seconds":{"type":"number"}},"additionalProperties":false},"annotations":{"readOnlyHint":true,"idempotentHint":true,"destructiveHint":false,"openWorldHint":true}}]