{"ok":true,"site":{"host":"pgmaps.ahmadjalil.com","url":"https://pgmaps.ahmadjalil.com/","type":"live","desc":"PGMaps","tools":[{"name":"list_map_experiences","kind":"answer","impl":"imperative","description":"Discover PGMaps workspaces beyond the project catalog, including food safety, air quality, census, index building, boundaries, Indigenous research, outdoors planning, and infrastructure.","title":"List PGMaps experiences","annotations":{"readOnlyHint":true,"untrustedContentHint":true,"consequentialHint":false},"inputSchema":{"type":"object","properties":{"query":{"type":"string","maxLength":160,"description":"Optional topic, place, dataset, or activity."}},"additionalProperties":false},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/","pages":["/","/foodmap","/airquality","/pgdata?tab=parks","/projects","/explorer"]},{"name":"open_map_experience","kind":"act","impl":"imperative","description":"Open a PGMaps workspace by the exact ID returned by list_map_experiences so the person and agent share its visible map state.","title":"Open a PGMaps experience","annotations":{"readOnlyHint":false,"untrustedContentHint":true,"consequentialHint":false},"inputSchema":{"type":"object","properties":{"id":{"type":"string","enum":["flatten-pg","flatten-sf","projects","food-safety","air-quality","explorer","census","index-lab","density-lab","correlation-lab","parks-and-trails","boundary-explorer","land-acknowledgement","outdoors-planner","wastewater","health-services"]}},"required":["id"],"additionalProperties":false},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/","pages":["/","/foodmap","/airquality","/pgdata?tab=parks","/projects","/explorer"]},{"name":"get_food_safety_context","kind":"answer","impl":"imperative","description":"Read the active food-safety map filters, historical inspection totals, selected establishment, and highest-risk matching establishments. Treat records as historical public-health context, not real-time safety advice.","title":"Get food safety context","annotations":{"readOnlyHint":true,"untrustedContentHint":true,"consequentialHint":false},"inputSchema":{"type":"object","properties":{"maxResults":{"type":"integer","minimum":1,"maximum":20,"default":8}},"additionalProperties":false},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/foodmap","pages":["/foodmap"]},{"name":"filter_food_safety_map","kind":"act","impl":"imperative","description":"Update the visible food-safety map by name or address, hazard rating, facility type, violation count, and inspection period. Omitted fields stay unchanged; empty arrays intentionally show no matches.","title":"Filter the food safety map","annotations":{"readOnlyHint":false,"untrustedContentHint":true,"consequentialHint":false},"inputSchema":{"type":"object","properties":{"query":{"type":"string","maxLength":160},"visualizationMode":{"type":"string","enum":["violations","hazard"]},"hazardRatings":{"type":"array","uniqueItems":true,"items":{"type":"string","enum":["Low","Moderate","Unknown"]}},"facilityTypes":{"type":"array","uniqueItems":true,"items":{"type":"string","enum":["Restaurant","Food Truck","Camp","Catering","Concession","Stand","Bakery","Coffee Shop","Bar/Pub","Brewery/Winery","Deli","Community Kitchen","Social Services","Gas Station","Hotel","Recreation","Farm","Institutional Kitchen","Store","Other","Unknown"]}},"violationBuckets":{"type":"array","uniqueItems":true,"description":"'zero' means inspected in the active period with no violations; 'uninspected' holds establishments with no inspection in that period.","items":{"type":"string","enum":["zero","low","medium","high","uninspected"]}},"timelineMonths":{"type":"integer","enum":[0,3,6,12,24]},"timelineMode":{"type":"string","enum":["period","cumulative"]}},"additionalProperties":false},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/foodmap","pages":["/foodmap"]},{"name":"rank_food_options","kind":"act","impl":"imperative","description":"Find the best currently filtered food establishments for a user who wants both fewer inspection violations and fewer nearby mapped property-crime incidents. Returns a transparent, balanced ranking; call select_food_establishment to open the chosen result.","title":"Rank food options by violations and nearby crime","annotations":{"readOnlyHint":true,"untrustedContentHint":true,"consequentialHint":false},"inputSchema":{"type":"object","properties":{"radiusMeters":{"type":"integer","enum":[250,500,1000,2000],"default":500,"description":"Radius around each establishment used to count mapped incidents."},"crimeLookbackMonths":{"type":"integer","enum":[12,24,36,60],"default":36,"description":"Historical window used for nearby property-crime incidents."},"crimeWeight":{"type":"integer","minimum":0,"maximum":100,"default":50,"description":"Percent of the ranking assigned to nearby crime; the remainder is inspection violations."},"requireInspections":{"type":"boolean","default":true,"description":"Exclude establishments with no inspections in the active food-map period."},"maxResults":{"type":"integer","minimum":1,"maximum":10,"default":5}},"additionalProperties":false},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/foodmap","pages":["/foodmap"]},{"name":"select_food_establishment","kind":"act","impl":"imperative","description":"Select one establishment from the currently filtered food-safety results and open it on the shared map. Optionally open its inspection-history panel.","title":"Select a food establishment","annotations":{"readOnlyHint":false,"untrustedContentHint":true,"consequentialHint":false},"inputSchema":{"type":"object","properties":{"establishment":{"type":"string","minLength":1,"maxLength":160},"address":{"type":"string","maxLength":200,"description":"Optional address fragment when a name is ambiguous."},"openInspections":{"type":"boolean","default":false}},"required":["establishment"],"additionalProperties":false},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/foodmap","pages":["/foodmap"]},{"name":"find_map_projects","kind":"answer","impl":"imperative","description":"Search the PGMaps project catalog by topic and optional project type. Returns project slugs and summaries so a relevant project can be opened.","title":"Find map projects","annotations":{"readOnlyHint":true,"untrustedContentHint":true,"consequentialHint":false},"inputSchema":{"type":"object","properties":{"query":{"type":"string","maxLength":160,"description":"Plain-language topic, place, or keyword."},"kind":{"type":"string","enum":["map-story","raster-story","index-preset","research-pack"],"description":"Optional project type filter."}},"additionalProperties":false},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/projects","pages":["/projects"]},{"name":"open_map_project","kind":"act","impl":"imperative","description":"Open one PGMaps project by its catalog slug. The human and agent will see the project workspace on the current page.","title":"Open a map project","annotations":{"readOnlyHint":false,"untrustedContentHint":true,"consequentialHint":false},"inputSchema":{"type":"object","properties":{"slug":{"type":"string","maxLength":160,"description":"Exact slug returned by find_map_projects."}},"required":["slug"],"additionalProperties":false},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/projects","pages":["/projects"]}],"favicon":"/favicons/pgmaps.ahmadjalil.com.png","apiSurface":"spec","category":"Health & Education","toolCount":8}}