{
  "notice": "bxzxxr MCP archive: a record of what public MCP servers declared when we listed them (we never call their tools). It is data, not a rating: nothing here says a server is safe, secure, verified or trustworthy, and a server can change after we looked. Secrets we detected are redacted; redacted tool lists are withheld and only their hash is shown.",
  "infrastructure": {
    "host": "mcp.motley.nyc",
    "site": "motley.nyc",
    "addresses": [
      {
        "address": "153.52.255.86",
        "endpoints": 7,
        "shared_infrastructure": false,
        "network": {
          "asn": 400940,
          "name": "RAILWAY - Railway",
          "prefix": "153.52.255.0/24",
          "country": "US"
        }
      }
    ],
    "addresses_recorded": true,
    "address_history": [
      {
        "addresses": [
          "153.52.255.86"
        ],
        "first_seen": "2026-11-21T18:58:01.233Z",
        "last_seen": "2026-11-23T22:22:02.395Z",
        "checks": 3
      }
    ],
    "hosting": [
      {
        "value": "Railway",
        "evidence": "Server header \"railway-hikari\""
      }
    ],
    "software": [],
    "server_info": {
      "name": "motley",
      "version": "0.13.0",
      "protocol_version": "2025-06-18"
    },
    "headers": {
      "server": "railway-hikari"
    },
    "auth": null
  },
  "related": {
    "same_address": {
      "total": 6,
      "sample": [
        {
          "id": "140",
          "url": "https://www.agentboard.ai/mcp",
          "server_name": "ai.agentboard/agentboard",
          "last_state": "listed",
          "last_checked_at": "2026-11-24T04:35:03.966Z"
        },
        {
          "id": "21415",
          "url": "https://web-production-220a3.up.railway.app/mcp",
          "server_name": "dog.swoleeswoge/swogeagentic",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T17:42:02.176Z"
        },
        {
          "id": "23332",
          "url": "https://mcp.dropenginehq.com/api/invoice-mcp",
          "server_name": "io.github.Ahmet11159/invoice-preflight",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T18:21:02.379Z"
        },
        {
          "id": "23333",
          "url": "https://mcp.dropenginehq.com/api/agent-services",
          "server_name": "io.github.Ahmet11159/x402-agent-services",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T18:22:02.674Z"
        },
        {
          "id": "18353",
          "url": "https://www.whispifys.com/mcp",
          "server_name": "com.whispifys/whispifys",
          "last_state": "auth_required",
          "last_checked_at": "2026-11-21T11:58:01.174Z"
        },
        {
          "id": "41706",
          "url": "https://app.royally.io/mcp",
          "server_name": "io.royally/royally",
          "last_state": "auth_required",
          "last_checked_at": "2026-11-21T18:00:01.618Z"
        }
      ]
    },
    "same_site": {
      "total": 0,
      "sample": []
    },
    "same_tool_list": {
      "total": 0,
      "sample": []
    },
    "same_publisher": {
      "publisher": "nyc.motley",
      "total": 0,
      "sample": []
    },
    "same_repository": null,
    "note": "Shared addresses on big platforms (Cloudflare, Vercel and the like) put unrelated servers together; those are marked shared_infrastructure. A match is a pivot, not a link between operators."
  },
  "endpoint": {
    "id": "44767",
    "server_name": "nyc.motley/mcp",
    "url": "https://mcp.motley.nyc/mcp",
    "host": "mcp.motley.nyc",
    "transport": "streamable-http",
    "last_checked_at": "2026-11-23T22:22:02.395Z",
    "last_state": "listed",
    "last_detail": null,
    "consecutive_failures": 0,
    "current_sha": "602fed7db7a463e111da2a55784664b042f60273b7fdcb3f1a513bb638a58613",
    "first_listed_at": "2026-11-21T18:58:01.233Z",
    "created_at": "2026-11-21T13:05:04.552Z",
    "resolved_addresses": [
      "153.52.255.86"
    ]
  },
  "server": {
    "name": "nyc.motley/mcp",
    "title": "Motley NYC — Neighborhoods, Schools & Admissions",
    "description": "Find, compare, and rank NYC neighborhoods and schools, plus how NYC school admissions works.",
    "version": "0.13.0",
    "registry_status": "active",
    "repository_url": null,
    "website_url": "https://motley.nyc/mcp",
    "published_at": "2026-11-03T11:39:54.542Z",
    "updated_at": "2026-11-03T11:39:54.542Z",
    "first_seen": "2026-11-21T13:05:03.881Z"
  },
  "other_endpoints": [],
  "intel": {
    "capabilities": [],
    "evm_addresses": [],
    "chains": [],
    "tokens": [],
    "computed_at": "2026-11-22T22:21:10.943Z"
  },
  "operator": {
    "key": "motley.nyc",
    "name": "motley.nyc",
    "platform": false,
    "marketplace": false
  },
  "needs_sign_in": false,
  "reachability": {
    "window_days": 30,
    "checks": 3,
    "answered": 3,
    "answered_percent": 100,
    "avg_listing_latency_ms": 362,
    "first_check_in_window": "2026-11-21T18:58:01.233Z",
    "consecutive_failures_now": 0,
    "days": [
      {
        "day": "2026-11-21",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      },
      {
        "day": "2026-11-22",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      },
      {
        "day": "2026-11-23",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      }
    ]
  },
  "tool_list": {
    "sha256": "602fed7db7a463e111da2a55784664b042f60273b7fdcb3f1a513bb638a58613",
    "tools": 21,
    "resources": 3,
    "prompts": 3,
    "first_seen": "2026-11-22T22:21:02.255Z",
    "tool_names": [
      "search-neighborhoods",
      "get-neighborhood",
      "get-neighborhood-summary",
      "get-schools",
      "browse-schools",
      "find-school",
      "get-zoned-school",
      "get-resources",
      "get-activities",
      "get-safety",
      "get-comparable",
      "find-neighborhood",
      "rank-neighborhoods",
      "compare-neighborhoods",
      "explain-score",
      "find-collections",
      "find-places",
      "get-admissions-methods",
      "explain-admissions-method",
      "get-admissions-demand",
      "get-admissions-timeline"
    ],
    "declared": {
      "tools": [
        {
          "name": "search-neighborhoods",
          "description": "Search and filter NYC neighborhoods by borough, by name (typos and nicknames like 'Bed-Stuy' or 'UWS' included), or by a description of what a family wants nearby ('near the water', 'brownstones and big parks'). Returns NTA codes, names, boroughs, and centroid coordinates; with a query, name matches come first and each result says what it matched on (match_reason). For ranking by a score, use rank-neighborhoods instead.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "limit": {
                "type": "number",
                "default": 20,
                "maximum": 50,
                "minimum": 1,
                "description": "Max results"
              },
              "query": {
                "type": "string",
                "description": "A neighborhood's name (official or common, typos and nicknames like 'Bed-Stuy' or 'UWS' included), or a description of what the family wants nearby ('near the water', 'brownstones and big parks'). Name matches come first; each match says what it matched on."
              },
              "borough": {
                "enum": [
                  "Manhattan",
                  "Brooklyn",
                  "Queens",
                  "Bronx",
                  "Staten Island"
                ],
                "type": "string",
                "description": "Filter by borough"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "count",
              "neighborhoods"
            ],
            "properties": {
              "url": {
                "type": "string"
              },
              "mode": {
                "enum": [
                  "hybrid",
                  "lexical"
                ],
                "type": "string"
              },
              "count": {
                "type": "number",
                "description": "Number of neighborhoods returned"
              },
              "query": {
                "type": "string"
              },
              "scope": {
                "type": "object",
                "required": [
                  "borough"
                ],
                "properties": {
                  "borough": {
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "additionalProperties": false
              },
              "total": {
                "type": "number"
              },
              "neighborhoods": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "nta_code",
                    "nta_name",
                    "borough",
                    "borough_name"
                  ],
                  "properties": {
                    "lat": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "lng": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "slug": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "scores": {
                      "anyOf": [
                        {
                          "type": "object",
                          "additionalProperties": {
                            "type": "number"
                          }
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "borough": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "nta_code": {
                      "type": "string"
                    },
                    "nta_name": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "borough_name": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "match_reason": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "additionalProperties": true
                }
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Search NYC neighborhoods",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get-neighborhood",
          "description": "Get full details for a single NYC neighborhood including demographics, raw 0-100 scores, location, and a family-readable interpretation (labeled score bands + cached editorial blurbs). Use the nta_code from search-neighborhoods.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "nta_code"
            ],
            "properties": {
              "nta_code": {
                "type": "string",
                "maxLength": 6,
                "description": "NTA code (e.g. BK0101)"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "nta_code",
              "nta_name",
              "borough",
              "borough_name"
            ],
            "properties": {
              "borough": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "nta_code": {
                "type": "string"
              },
              "nta_name": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "borough_name": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "additionalProperties": true
          },
          "annotations": {
            "title": "Neighborhood details & scores",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get-neighborhood-summary",
          "description": "Get a decision-ready, family-readable summary of one NYC neighborhood: a one-paragraph fit verdict, what stands out and what to weigh among its Family Fit scores (`tradeoffs`), labeled score bands (e.g. 'Peace of Mind: strong (78/100)'), and cached editorial blurbs — with raw scores still available, weekday-morning transit minutes to the city's main job centers, and a link to the neighborhood's Motley page. The interpretation-first front door; start here when a family wants an answer, not a data dump. A non-residential area (park, cemetery, airport, institution) isn't scored, and the summary says so.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "nta_code"
            ],
            "properties": {
              "nta_code": {
                "type": "string",
                "maxLength": 6,
                "description": "NTA code (e.g. BK0101)"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "nta_code",
              "nta_name",
              "borough",
              "borough_name",
              "summary",
              "url"
            ],
            "properties": {
              "url": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "borough": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "summary": {
                "type": "string"
              },
              "nta_code": {
                "type": "string"
              },
              "nta_name": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "borough_name": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "additionalProperties": true
          },
          "annotations": {
            "title": "Neighborhood fit summary",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get-schools",
          "description": "Get schools within a neighborhood — public, charter, and private. Includes each school's Motley ratings out of 100 (elementary and middle schools on grades 3-8 state tests, high schools on graduation and Regents results; ratings_note says how each is built), grade levels, contact info. Use count_only for a quick summary, or limit/offset to page the full list (the response reports total/returned).",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "nta_code"
            ],
            "properties": {
              "limit": {
                "type": "integer",
                "default": 50,
                "maximum": 200,
                "minimum": 1,
                "description": "Max schools to return (ignored when count_only)"
              },
              "offset": {
                "type": "integer",
                "default": 0,
                "minimum": 0,
                "description": "Number of schools to skip, for paging through the full list"
              },
              "nta_code": {
                "type": "string",
                "maxLength": 6,
                "description": "NTA code"
              },
              "count_only": {
                "type": "boolean",
                "default": false,
                "description": "Return only counts by governance type"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "total"
            ],
            "properties": {
              "total": {
                "type": "number"
              }
            },
            "additionalProperties": true
          },
          "annotations": {
            "title": "Schools in a neighborhood",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "browse-schools",
          "description": "Find NYC schools citywide by what a family wants — borough, community school district (1-32), grade band (pre-K/elementary/middle/high), school type (public/charter/private), admissions method (zoned, zone priority, unscreened, limited unscreened, screened, language criteria, ed-opt, audition, SHSAT, charter lottery, private, universal pre-K), and program focus (arts, sports, STEM, language, academic, clubs). Use this when the family describes the KIND of school they want; use get-schools when you already have an nta_code and want everything in that neighborhood. For what the filters can't say — a program or approach like 'Spanish dual language', 'Montessori' or 'a strong music program' — pass the family's words as query: results come best match first, each with the line it matched on (match_reason). At least one filter is required (a query counts); each filter narrows the results, so one the family didn't state drops schools they may want. Program focus is tagged on public and charter schools only. Each school carries its Motley ratings out of 100 (ratings_note says how each is built), and url opens the same browse on motley.nyc. Coverage is New York City's five boroughs only: every filter value and every result is an NYC school.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "limit": {
                "type": "integer",
                "default": 20,
                "maximum": 50,
                "minimum": 1,
                "description": "Max schools to return"
              },
              "query": {
                "type": "string",
                "maxLength": 120,
                "minLength": 3,
                "description": "The family's own words for what they want that the filters can't say — a program or approach ('Spanish dual language', 'Montessori', 'strong music program', 'robotics'). Ranks the matches best first, each with the line it matched on (match_reason). Anything passed as a filter is already applied; a school's name goes to find-school, and ratings aren't searchable text."
              },
              "offset": {
                "type": "integer",
                "default": 0,
                "maximum": 200,
                "minimum": 0,
                "description": "Number of schools to skip, for paging"
              },
              "borough": {
                "enum": [
                  "Manhattan",
                  "Brooklyn",
                  "Queens",
                  "Bronx",
                  "Staten Island"
                ],
                "type": "string",
                "description": "Limit to one borough. Omit unless the family named one."
              },
              "district": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "maximum": 32,
                  "minimum": 1
                },
                "maxItems": 8,
                "minItems": 1,
                "description": "Community school district numbers, 1-32. A borough is NOT a district — for 'schools in the Bronx' use `borough` and omit this. A district the family didn't name filters out every other one."
              },
              "governance": {
                "type": "array",
                "items": {
                  "enum": [
                    "public",
                    "charter",
                    "private"
                  ],
                  "type": "string"
                },
                "maxItems": 3,
                "minItems": 1,
                "description": "School type. Omit unless the family named one."
              },
              "grade_band": {
                "enum": [
                  "prek",
                  "elementary",
                  "middle",
                  "high"
                ],
                "type": "string",
                "description": "prek (K-12 schools that also run 3-K/pre-K), elementary (K-5), middle (6-8), high (9-12)"
              },
              "admissions_method": {
                "type": "array",
                "items": {
                  "enum": [
                    "zoned",
                    "zone_priority",
                    "unscreened",
                    "limited_unscreened",
                    "screened",
                    "language_criteria",
                    "ed_opt",
                    "audition",
                    "shsat",
                    "charter_lottery",
                    "private_admissions",
                    "prek_universal"
                  ],
                  "type": "string"
                },
                "maxItems": 10,
                "minItems": 1,
                "description": "How the school admits students; matches a school admitting by ANY listed method. Call get-admissions-methods or explain-admissions-method for what each one means."
              },
              "program_categories": {
                "type": "array",
                "items": {
                  "enum": [
                    "academic",
                    "arts",
                    "sports",
                    "stem",
                    "language",
                    "extracurricular"
                  ],
                  "type": "string"
                },
                "maxItems": 6,
                "minItems": 1,
                "description": "Program focus; matches a school offering ANY listed focus. 'arts' covers art, music, dance, drama and theater; 'extracurricular' means clubs. Tagged on public and charter schools ONLY."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "total",
              "returned",
              "filters_applied",
              "schools",
              "url",
              "ratings_note"
            ],
            "properties": {
              "url": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "mode": {
                "enum": [
                  "hybrid",
                  "lexical"
                ],
                "type": "string"
              },
              "total": {
                "type": "number"
              },
              "schools": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "dbn",
                    "name",
                    "address",
                    "governance",
                    "grade_levels",
                    "district",
                    "neighborhood",
                    "nta_code",
                    "borough",
                    "slug",
                    "admissions_method",
                    "admissions_methods",
                    "ratings"
                  ],
                  "properties": {
                    "dbn": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    },
                    "slug": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "address": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "borough": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "ratings": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "grades",
                          "score"
                        ],
                        "properties": {
                          "score": {
                            "type": "number"
                          },
                          "grades": {
                            "enum": [
                              "grades 3-8",
                              "high school"
                            ],
                            "type": "string"
                          }
                        },
                        "additionalProperties": false
                      },
                      "description": "Motley's ratings, out of 100, each named by the grades it covers; empty when the school isn't rated (private schools)."
                    },
                    "district": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "nta_code": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "programs": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "category",
                          "label",
                          "examples"
                        ],
                        "properties": {
                          "label": {
                            "type": "string"
                          },
                          "category": {
                            "type": "string"
                          },
                          "examples": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          }
                        },
                        "additionalProperties": false
                      }
                    },
                    "governance": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "grade_levels": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "match_reason": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "neighborhood": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "admissions_method": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "admissions_methods": {
                      "anyOf": [
                        {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "additionalProperties": false
                }
              },
              "returned": {
                "type": "number"
              },
              "match_note": {
                "type": "string"
              },
              "ratings_note": {
                "type": "string"
              },
              "filters_applied": {
                "type": "object",
                "additionalProperties": {
                  "type": "string"
                }
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Find schools across NYC",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "find-school",
          "description": "Use this to turn a school's name into its DBN — the official name, a common short form ('Brooklyn Tech', 'PS 321'), or a DBN to confirm. Returns candidate schools with their district, neighborhood, admission method, Motley ratings out of 100 (ratings_note says how each is built) and Motley page; the matching row's dbn is the input get-admissions-demand takes, and a DBN no lookup returned matches nothing. K-12 schools only (public, charter, private).",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "query"
            ],
            "properties": {
              "limit": {
                "type": "integer",
                "default": 5,
                "maximum": 10,
                "minimum": 1,
                "description": "Max candidates to return"
              },
              "query": {
                "type": "string",
                "maxLength": 120,
                "minLength": 2,
                "description": "The school as the family named it: its official name ('Townsend Harris High School'), a common short form ('Brooklyn Tech', 'PS 321'), or its DBN ('02M475')."
              },
              "borough": {
                "enum": [
                  "Manhattan",
                  "Brooklyn",
                  "Queens",
                  "Bronx",
                  "Staten Island"
                ],
                "type": "string",
                "description": "Narrow a name search to one borough when the family named it. Ignored when the query is a DBN."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "query",
              "count",
              "total",
              "schools"
            ],
            "properties": {
              "count": {
                "type": "number"
              },
              "query": {
                "type": "string"
              },
              "total": {
                "type": "number"
              },
              "message": {
                "type": "string"
              },
              "schools": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "dbn",
                    "name",
                    "governance",
                    "grade_levels",
                    "address",
                    "borough",
                    "district",
                    "nta_code",
                    "nta_name",
                    "admissions_method",
                    "admissions_methods",
                    "url",
                    "ratings"
                  ],
                  "properties": {
                    "dbn": {
                      "type": "string"
                    },
                    "url": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "name": {
                      "type": "string"
                    },
                    "address": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "borough": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "ratings": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "grades",
                          "score"
                        ],
                        "properties": {
                          "score": {
                            "type": "number"
                          },
                          "grades": {
                            "enum": [
                              "grades 3-8",
                              "high school"
                            ],
                            "type": "string"
                          }
                        },
                        "additionalProperties": false
                      },
                      "description": "Motley's ratings, out of 100, each named by the grades it covers; empty when the school isn't rated (private schools)."
                    },
                    "district": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "nta_code": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "nta_name": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "governance": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "grade_levels": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "admissions_method": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "admissions_methods": {
                      "anyOf": [
                        {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "additionalProperties": false
                }
              },
              "ratings_note": {
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Look up a school by name",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get-zoned-school",
          "description": "Use this when a family asks which elementary school is zoned for a specific NYC address, such as an apartment or building they name. NYC draws school zones building by building, so pass the street address exactly as they typed it — building number and street, ideally with the borough — never the device's location. Returns the zoned K-5 school, the neighborhood, and how zoned admission works; some areas, like all of District 1, have no zoned school.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "address"
            ],
            "properties": {
              "address": {
                "type": "string",
                "maxLength": 200,
                "minLength": 5,
                "description": "The NYC street address to look up, as the family typed it, with the building number and ideally the borough — e.g. \"123 7th Ave, Brooklyn\". A zone line can run between two buildings on one block, so a city or neighborhood can't answer this; never the device's location."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "query",
              "found",
              "matched_address"
            ],
            "properties": {
              "note": {
                "type": "string"
              },
              "found": {
                "type": "boolean"
              },
              "query": {
                "type": "string"
              },
              "reason": {
                "enum": [
                  "not_found",
                  "outside_nyc",
                  "ambiguous",
                  "no_zone"
                ],
                "type": "string"
              },
              "message": {
                "type": "string"
              },
              "candidates": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "neighborhood": {
                "anyOf": [
                  {
                    "type": "object",
                    "required": [
                      "nta_code",
                      "nta_name",
                      "borough",
                      "url"
                    ],
                    "properties": {
                      "url": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "borough": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "nta_code": {
                        "type": "string"
                      },
                      "nta_name": {
                        "type": [
                          "string",
                          "null"
                        ]
                      }
                    },
                    "additionalProperties": false
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "zoned_school": {
                "type": "object",
                "required": [
                  "dbn",
                  "name",
                  "address",
                  "district",
                  "grade_levels",
                  "url"
                ],
                "properties": {
                  "dbn": {
                    "type": "string"
                  },
                  "url": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "name": {
                    "type": "string"
                  },
                  "address": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "district": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "grade_levels": {
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "additionalProperties": false
              },
              "matched_address": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "also_zoned_schools": {
                "type": "array",
                "items": {
                  "$ref": "#/properties/zoned_school"
                }
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Find the zoned school for an address",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get-resources",
          "description": "Get family resource counts for a neighborhood: recreation centers, playgrounds, libraries, hospitals, farmers markets, ADA subway stations.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "nta_code"
            ],
            "properties": {
              "nta_code": {
                "type": "string",
                "maxLength": 6,
                "description": "NTA code"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "ntaCode"
            ],
            "properties": {
              "ntaCode": {
                "type": "string"
              }
            },
            "additionalProperties": true
          },
          "annotations": {
            "title": "Family resources in a neighborhood",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get-activities",
          "description": "Get kids' activities and businesses in a neighborhood — classes, sports, arts, tutoring, etc. Use count_only for category breakdown, or limit/offset to page the full list (reports total/returned). Each place's last_refreshed is when we last confirmed it was still listed.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "nta_code"
            ],
            "properties": {
              "limit": {
                "type": "integer",
                "default": 50,
                "maximum": 200,
                "minimum": 1,
                "description": "Max activities to return (ignored when count_only)"
              },
              "offset": {
                "type": "integer",
                "default": 0,
                "minimum": 0,
                "description": "Number of activities to skip, for paging through the full list"
              },
              "nta_code": {
                "type": "string",
                "maxLength": 6,
                "description": "NTA code"
              },
              "count_only": {
                "type": "boolean",
                "default": false,
                "description": "Return only category counts"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "total"
            ],
            "properties": {
              "total": {
                "type": "number"
              }
            },
            "additionalProperties": true
          },
          "annotations": {
            "title": "Kids' activities in a neighborhood",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get-safety",
          "description": "Get safety and health environment indicators for a neighborhood: crime complaints, collisions, HPD violations, air quality, lead levels, asthma rates — plus a family-readable interpretation of the Peace of Mind and Air & Child Health scores.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "nta_code"
            ],
            "properties": {
              "nta_code": {
                "type": "string",
                "maxLength": 6,
                "description": "NTA code"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "ntaCode"
            ],
            "properties": {
              "ntaCode": {
                "type": "string"
              }
            },
            "additionalProperties": true
          },
          "annotations": {
            "title": "Safety & health indicators",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get-comparable",
          "description": "Find neighborhoods most similar to a given one based on a 9-dimension score vector (family density, wealth, education, safety, transit, etc.). Returns similarity scores.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "nta_code"
            ],
            "properties": {
              "limit": {
                "type": "number",
                "default": 5,
                "maximum": 20,
                "minimum": 1,
                "description": "Number of comparable neighborhoods"
              },
              "nta_code": {
                "type": "string",
                "maxLength": 6,
                "description": "NTA code to find similar neighborhoods for"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "source",
              "comparables"
            ],
            "properties": {
              "source": {
                "type": "object",
                "required": [
                  "nta_code",
                  "nta_name",
                  "borough",
                  "borough_name",
                  "viability_score",
                  "scores_as_of",
                  "scores_version",
                  "methodology_url"
                ],
                "properties": {
                  "borough": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "nta_code": {
                    "type": "string"
                  },
                  "nta_name": {
                    "type": "string"
                  },
                  "borough_name": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "scores_as_of": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "scores_version": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "methodology_url": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "viability_score": {
                    "type": "number"
                  }
                },
                "additionalProperties": false
              },
              "comparables": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "nta_code",
                    "nta_name",
                    "similarity"
                  ],
                  "properties": {
                    "nta_code": {
                      "type": "string"
                    },
                    "nta_name": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "similarity": {
                      "type": "number"
                    }
                  },
                  "additionalProperties": true
                }
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Find similar neighborhoods",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "find-neighborhood",
          "description": "Find which NYC neighborhood (NTA) an address or coordinate is in. Pass a NYC address the family gave (placed with NYC's official address directory; include the borough when you know it) OR lat+lng. Returns the NTA code, name, borough, a link to the neighborhood's Motley page, and a decision-ready family-fit summary. Use this to turn a real-world location into a neighborhood you can pass to the other tools.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "lat": {
                "type": "number",
                "maximum": 40.92,
                "minimum": 40.49,
                "description": "Latitude of a point the family named or picked (NYC box) — never the device's location. Provide with lng instead of an address."
              },
              "lng": {
                "type": "number",
                "maximum": -73.68,
                "minimum": -74.26,
                "description": "Longitude of a point the family named or picked (NYC box) — never the device's location. Provide with lat instead of an address."
              },
              "address": {
                "type": "string",
                "minLength": 3,
                "description": "A NYC street address or place name the family gave (e.g. \"350 5th Ave, Manhattan\") — never the device's location. Geocoded with NYC's official address directory; include the borough when you know it. Provide this OR lat+lng."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "query",
              "nta",
              "url"
            ],
            "properties": {
              "nta": {
                "type": "object",
                "required": [
                  "nta_code",
                  "nta_name",
                  "borough",
                  "borough_name",
                  "slug"
                ],
                "properties": {
                  "slug": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "borough": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "nta_code": {
                    "type": "string"
                  },
                  "nta_name": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "borough_name": {
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "additionalProperties": false
              },
              "url": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "query": {
                "type": "object",
                "required": [
                  "address",
                  "lat",
                  "lng"
                ],
                "properties": {
                  "lat": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "lng": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "address": {
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "additionalProperties": false
              }
            },
            "additionalProperties": true
          },
          "annotations": {
            "title": "Find a neighborhood by address",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "rank-neighborhoods",
          "description": "Rank NYC's residential neighborhoods by what a family cares about — the same ranking as Best fit on motley.nyc. Pass ranked priority words, most important first: families, schools, affordability, character, getting-around, safety, air-and-health (and synonyms such as crime, rent, transit, commute, kids), plus two factors — parks or playgrounds (the share of homes within a 10-minute walk of an NYC Parks playground) and diversity (how evenly residents spread across five census groups). Or pass per-metric weights for the seven scores. To rank by ONE score alone ('safest in Queens', 'rate Brooklyn by things to do'), pass sort_by instead (Family Fit and Things to Do included); the answer's sort_by.measures says what that score counts. Optionally scope to one borough. Returns the top neighborhoods with a fit score and the score breakdown, which factors counted, any priority words we don't measure (unrecognized_priorities, which added nothing to the ranking), and a best_fit_url that opens the same ranking on motley.nyc. A deterministic weighted sort over neighborhood-level data, not a per-child school match.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "limit": {
                "type": "integer",
                "default": 10,
                "maximum": 50,
                "minimum": 1,
                "description": "How many top neighborhoods to return"
              },
              "borough": {
                "enum": [
                  "Manhattan",
                  "Brooklyn",
                  "Queens",
                  "Bronx",
                  "Staten Island"
                ],
                "type": "string",
                "description": "Restrict the ranking to one borough"
              },
              "sort_by": {
                "enum": [
                  "family-fit",
                  "families",
                  "schools",
                  "affordability",
                  "character",
                  "getting-around",
                  "safety",
                  "air-and-health",
                  "things-to-do"
                ],
                "type": "string",
                "description": "Rank by ONE score alone, highest first — for 'safest neighborhoods in Queens' or 'rate Brooklyn by things to do'. family-fit is the overall Family Fit score; families is the families score. When set, weights and priorities are ignored (0.9.0)."
              },
              "weights": {
                "type": "object",
                "properties": {
                  "safety_score": {
                    "type": "number",
                    "minimum": 0
                  },
                  "wealth_index": {
                    "type": "number",
                    "minimum": 0
                  },
                  "family_density": {
                    "type": "number",
                    "minimum": 0
                  },
                  "health_environment": {
                    "type": "number",
                    "minimum": 0
                  },
                  "education_orientation": {
                    "type": "number",
                    "minimum": 0
                  },
                  "transit_accessibility": {
                    "type": "number",
                    "minimum": 0
                  },
                  "neighborhood_stability": {
                    "type": "number",
                    "minimum": 0
                  }
                },
                "description": "Per-metric importance (0+; higher = matters more). Any subset; normalized internally. When given, it sets the seven scores and the score words in `priorities` are ignored; the factor words (parks, diversity) in `priorities` still count.",
                "additionalProperties": false
              },
              "priorities": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "What the family cares about, most important first — e.g. [\"parks\",\"schools\",\"safety\"]. Score words: families, schools, affordability, character, getting-around, safety, air-and-health (and synonyms like crime, rent, transit, commute, kids). Factor words: parks or playgrounds (homes near an NYC Parks playground), diversity. Weighted 1, ½, ⅓… by position. Words we don't map come back in `unrecognized_priorities`."
              },
              "min_population": {
                "type": "integer",
                "default": 1000,
                "minimum": 0,
                "description": "Residential floor — drops parks/cemeteries/airports that score ~100 by having almost no residents (default 1000)."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "weights_used",
              "weights_source",
              "sort_by",
              "factors",
              "unrecognized_priorities",
              "scope",
              "count",
              "scores_as_of",
              "scores_version",
              "methodology_url",
              "best_fit_url",
              "neighborhoods"
            ],
            "properties": {
              "count": {
                "type": "number"
              },
              "scope": {
                "type": "object",
                "required": [
                  "borough"
                ],
                "properties": {
                  "borough": {
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "additionalProperties": false
              },
              "factors": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "key",
                    "weight",
                    "counted",
                    "measures"
                  ],
                  "properties": {
                    "key": {
                      "enum": [
                        "playgrounds",
                        "diversity"
                      ],
                      "type": "string"
                    },
                    "weight": {
                      "type": "number"
                    },
                    "counted": {
                      "type": "boolean"
                    },
                    "measures": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                }
              },
              "sort_by": {
                "anyOf": [
                  {
                    "type": "object",
                    "required": [
                      "key",
                      "column",
                      "label",
                      "measures"
                    ],
                    "properties": {
                      "key": {
                        "enum": [
                          "family-fit",
                          "families",
                          "schools",
                          "affordability",
                          "character",
                          "getting-around",
                          "safety",
                          "air-and-health",
                          "things-to-do"
                        ],
                        "type": "string"
                      },
                      "label": {
                        "type": "string"
                      },
                      "column": {
                        "type": "string"
                      },
                      "measures": {
                        "type": "string"
                      }
                    },
                    "additionalProperties": false
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "sort_note": {
                "type": "string"
              },
              "best_fit_url": {
                "type": "string"
              },
              "scores_as_of": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "weights_used": {
                "type": "object",
                "required": [
                  "family_density",
                  "education_orientation",
                  "wealth_index",
                  "neighborhood_stability",
                  "transit_accessibility",
                  "safety_score",
                  "health_environment"
                ],
                "properties": {
                  "safety_score": {
                    "type": "number",
                    "minimum": 0
                  },
                  "wealth_index": {
                    "type": "number",
                    "minimum": 0
                  },
                  "family_density": {
                    "type": "number",
                    "minimum": 0
                  },
                  "health_environment": {
                    "type": "number",
                    "minimum": 0
                  },
                  "education_orientation": {
                    "type": "number",
                    "minimum": 0
                  },
                  "transit_accessibility": {
                    "type": "number",
                    "minimum": 0
                  },
                  "neighborhood_stability": {
                    "type": "number",
                    "minimum": 0
                  }
                },
                "additionalProperties": false
              },
              "neighborhoods": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "rank",
                    "nta_code",
                    "nta_name",
                    "borough_name",
                    "slug",
                    "fit_score",
                    "scores"
                  ],
                  "properties": {
                    "rank": {
                      "type": "number"
                    },
                    "slug": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "scores": {
                      "type": "object",
                      "required": [
                        "family_density",
                        "education_orientation",
                        "wealth_index",
                        "neighborhood_stability",
                        "transit_accessibility",
                        "safety_score",
                        "health_environment"
                      ],
                      "properties": {
                        "safety_score": {
                          "$ref": "#/properties/weights_used/properties/safety_score"
                        },
                        "wealth_index": {
                          "$ref": "#/properties/weights_used/properties/wealth_index"
                        },
                        "competitor_gap": {
                          "type": "number"
                        },
                        "family_density": {
                          "$ref": "#/properties/weights_used/properties/family_density"
                        },
                        "viability_score": {
                          "type": "number"
                        },
                        "health_environment": {
                          "$ref": "#/properties/weights_used/properties/health_environment"
                        },
                        "education_orientation": {
                          "$ref": "#/properties/weights_used/properties/education_orientation"
                        },
                        "transit_accessibility": {
                          "$ref": "#/properties/weights_used/properties/transit_accessibility"
                        },
                        "neighborhood_stability": {
                          "$ref": "#/properties/weights_used/properties/neighborhood_stability"
                        }
                      },
                      "additionalProperties": false
                    },
                    "nta_code": {
                      "type": "string"
                    },
                    "nta_name": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "fit_score": {
                      "type": "number"
                    },
                    "borough_name": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "diversity_index": {
                      "type": "number"
                    },
                    "playground_share": {
                      "type": "number"
                    }
                  },
                  "additionalProperties": false
                }
              },
              "scores_version": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "weights_source": {
                "enum": [
                  "weights",
                  "priorities",
                  "default",
                  "sort_by"
                ],
                "type": "string"
              },
              "methodology_url": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "unrecognized_priorities": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Rank neighborhoods by priorities",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "compare-neighborhoods",
          "description": "Compare 2–6 NYC neighborhoods side by side across the 9 family-fit metrics (Family Fit, Families, Affordability, Schools, Neighborhood Character, Transit, Safety, Health, Activities). Pass an array of NTA codes; returns a per-metric matrix with each neighborhood's band and the per-metric leader, plus weekday-morning transit minutes from each to the city's main job centers. Non-residential areas aren't scored and are dropped.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "nta_codes"
            ],
            "properties": {
              "nta_codes": {
                "type": "array",
                "items": {
                  "type": "string",
                  "maxLength": 6
                },
                "maxItems": 6,
                "minItems": 2,
                "description": "2–6 NTA codes to compare side by side (from search-neighborhoods). Unknown and unscored codes (non-residential areas) are dropped."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "neighborhoods",
              "metrics",
              "scores_as_of",
              "scores_version",
              "methodology_url"
            ],
            "properties": {
              "commute": {
                "type": "object",
                "required": [
                  "basis",
                  "feed_date",
                  "hubs"
                ],
                "properties": {
                  "hubs": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "hub_key",
                        "label",
                        "values",
                        "leader_nta_code"
                      ],
                      "properties": {
                        "label": {
                          "type": "string"
                        },
                        "values": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "required": [
                              "nta_code",
                              "minutes_typical",
                              "minutes_high"
                            ],
                            "properties": {
                              "nta_code": {
                                "type": "string"
                              },
                              "minutes_high": {
                                "type": [
                                  "number",
                                  "null"
                                ]
                              },
                              "minutes_typical": {
                                "type": [
                                  "number",
                                  "null"
                                ]
                              }
                            },
                            "additionalProperties": false
                          }
                        },
                        "hub_key": {
                          "type": "string"
                        },
                        "leader_nta_code": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "additionalProperties": false
                    }
                  },
                  "basis": {
                    "type": "string"
                  },
                  "feed_date": {
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "additionalProperties": false
              },
              "metrics": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "key",
                    "label",
                    "values",
                    "leader_nta_code"
                  ],
                  "properties": {
                    "key": {
                      "type": "string"
                    },
                    "label": {
                      "type": "string"
                    },
                    "values": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "nta_code",
                          "score",
                          "band",
                          "phrase"
                        ],
                        "properties": {
                          "band": {
                            "type": "string"
                          },
                          "score": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "phrase": {
                            "type": "string"
                          },
                          "nta_code": {
                            "type": "string"
                          }
                        },
                        "additionalProperties": false
                      }
                    },
                    "leader_nta_code": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "additionalProperties": false
                }
              },
              "scores_as_of": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "neighborhoods": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "nta_code",
                    "nta_name",
                    "borough_name",
                    "slug"
                  ],
                  "properties": {
                    "slug": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "nta_code": {
                      "type": "string"
                    },
                    "nta_name": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "borough_name": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "additionalProperties": false
                }
              },
              "scores_version": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "methodology_url": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Compare neighborhoods side by side",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "explain-score",
          "description": "Use this when a family asks how one of Motley's scores is computed — a neighborhood score (Family Fit, Schools, Safety / Peace of Mind, Affordability, Getting Around, Neighborhood Character, Air & Child Health, Things to Do) or the school rating — or whether the scores are biased toward wealthier areas. Returns what the score measures, its inputs and weights, how they combine, its share of Family Fit, its known limits, its sources, and the Spearman correlation (ρ) of the score with neighborhood median household income, with a plain reading of it.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "topic"
            ],
            "properties": {
              "topic": {
                "type": "string",
                "maxLength": 80,
                "minLength": 2,
                "description": "The score or topic in the family's words: 'safety', 'family fit', 'school rating', 'schools', 'affordability', 'getting around', 'character', 'air quality', 'things to do' — or 'bias' / 'fairness' for how the scores relate to neighborhood income."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "found"
            ],
            "properties": {
              "key": {
                "type": "string"
              },
              "found": {
                "type": "boolean"
              },
              "label": {
                "type": "string"
              },
              "scale": {
                "type": "string"
              },
              "income": {
                "type": "object",
                "required": [
                  "rho",
                  "plain",
                  "measured"
                ],
                "properties": {
                  "rho": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "plain": {
                    "type": "string"
                  },
                  "measured": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "inputs": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "label",
                    "weight_percent"
                  ],
                  "properties": {
                    "note": {
                      "type": "string"
                    },
                    "label": {
                      "type": "string"
                    },
                    "weight_percent": {
                      "type": [
                        "number",
                        "null"
                      ]
                    }
                  },
                  "additionalProperties": false
                }
              },
              "method": {
                "type": "string"
              },
              "combine": {
                "type": "string"
              },
              "formula": {
                "type": "string"
              },
              "message": {
                "type": "string"
              },
              "sources": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "name",
                    "publisher",
                    "vintage"
                  ],
                  "properties": {
                    "name": {
                      "type": "string"
                    },
                    "vintage": {
                      "type": "string"
                    },
                    "publisher": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                }
              },
              "measures": {
                "type": "string"
              },
              "peer_set": {
                "type": "string"
              },
              "available": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "key",
                    "label"
                  ],
                  "properties": {
                    "key": {
                      "type": "string"
                    },
                    "label": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                }
              },
              "direction": {
                "type": "string"
              },
              "data_as_of": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "limitations": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "parts_income": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "label",
                    "rho"
                  ],
                  "properties": {
                    "rho": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "label": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                }
              },
              "methodology_url": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "family_fit_percent": {
                "type": [
                  "number",
                  "null"
                ]
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "How a score is computed",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "find-collections",
          "description": "Use this when a family asks for lists of NYC schools or neighborhoods picked by a rule rather than a ranking: zoned schools that beat their district while serving high-need students; high school programs with more seats per applicant; schools where no group is a majority and families rate them highly (kind 'schools'); or affordable family neighborhoods with such a school, and family neighborhoods where no single group is a majority (kind 'neighborhoods'). Optionally one borough. Each list is defined by its stated rule, not ranked by quality, and carries that rule, its true count and its first members.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "kind"
            ],
            "properties": {
              "kind": {
                "enum": [
                  "schools",
                  "neighborhoods"
                ],
                "type": "string",
                "description": "'neighborhoods' for the neighborhood lists (affordable family neighborhoods with a school that beats its district; family neighborhoods where no single group is a majority); 'schools' for the school lists (zoned schools that beat their district while serving high-need students; high school programs with more seats per applicant; schools where no group is a majority and families rate them highly)."
              },
              "borough": {
                "enum": [
                  "Manhattan",
                  "Brooklyn",
                  "Queens",
                  "Bronx",
                  "Staten Island"
                ],
                "type": "string",
                "description": "Only when the family named a borough; omit it for citywide."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "found",
              "kind",
              "borough",
              "collections",
              "methodology_url"
            ],
            "properties": {
              "kind": {
                "type": "string"
              },
              "found": {
                "type": "boolean"
              },
              "borough": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "message": {
                "type": "string"
              },
              "collections": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "key",
                    "title",
                    "summary",
                    "criteria",
                    "count",
                    "shown",
                    "members",
                    "url"
                  ],
                  "properties": {
                    "key": {
                      "type": "string"
                    },
                    "url": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "count": {
                      "type": "number"
                    },
                    "shown": {
                      "type": "string"
                    },
                    "title": {
                      "type": "string"
                    },
                    "members": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "name",
                          "borough",
                          "detail",
                          "url"
                        ],
                        "properties": {
                          "dbn": {
                            "type": "string"
                          },
                          "url": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "name": {
                            "type": "string"
                          },
                          "detail": {
                            "type": "string"
                          },
                          "borough": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "nta_code": {
                            "type": "string"
                          },
                          "school_name": {
                            "type": "string"
                          }
                        },
                        "additionalProperties": false
                      }
                    },
                    "summary": {
                      "type": "string"
                    },
                    "criteria": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  },
                  "additionalProperties": false
                }
              },
              "methodology_url": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Lists picked by a stated rule",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "find-places",
          "description": "Use this when a family asks what's in one NYC neighborhood, or where a kind of place is in it: a library, playgrounds, subway stations or bus stops, coffee, groceries, restaurants, things to do, family resources (rec centers, farmers markets), healthcare (pediatricians, urgent care, hospitals, dentists) or public, charter and private schools. Searches every place we map inside the neighborhood's boundary by name, street or kind (query), or lists every place of one kind (kind); with neither, returns what kinds of places are there, with counts. Results are grouped by category, with a link to each school's page and to the neighborhood's page, which lists every place. Use the nta_code from search-neighborhoods or find-neighborhood.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "nta_code"
            ],
            "properties": {
              "kind": {
                "enum": [
                  "schools",
                  "parks",
                  "transit",
                  "restaurants",
                  "groceries",
                  "cafes",
                  "activities",
                  "resources",
                  "healthcare",
                  "public-schools",
                  "charter-schools",
                  "private-schools",
                  "libraries",
                  "playgrounds",
                  "subway",
                  "bus",
                  "rec-centers",
                  "farmers-markets",
                  "pediatricians",
                  "urgent-care",
                  "hospitals",
                  "dentists"
                ],
                "type": "string",
                "description": "List every place of one kind: a category (schools, parks, transit, restaurants, groceries, cafes, activities, resources = family resources, healthcare) or a specific kind (public-schools, charter-schools, private-schools, libraries, playgrounds, subway, bus, rec-centers, farmers-markets, pediatricians, urgent-care, hospitals, dentists). With a query, the query narrows within the kind."
              },
              "query": {
                "type": "string",
                "maxLength": 80,
                "minLength": 1,
                "description": "What to look for: a place's name, a street, subway lines, or a kind of place in plain words ('library', 'coffee', 'subway', 'pediatrician'). Omit to list a whole kind, or to get the overview."
              },
              "nta_code": {
                "type": "string",
                "maxLength": 6,
                "description": "NTA code of the neighborhood (from search-neighborhoods or find-neighborhood)"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "nta_code",
              "neighborhood",
              "borough_name",
              "url",
              "mode",
              "total",
              "truncated",
              "groups",
              "categories",
              "quick_searches"
            ],
            "properties": {
              "url": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "mode": {
                "enum": [
                  "overview",
                  "results"
                ],
                "type": "string"
              },
              "note": {
                "type": "string"
              },
              "total": {
                "type": "number"
              },
              "groups": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "category",
                    "label",
                    "total",
                    "places"
                  ],
                  "properties": {
                    "label": {
                      "type": "string"
                    },
                    "total": {
                      "type": "number"
                    },
                    "places": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "name",
                          "detail",
                          "school_url"
                        ],
                        "properties": {
                          "name": {
                            "type": "string"
                          },
                          "detail": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "governance": {
                            "enum": [
                              "public",
                              "charter",
                              "private"
                            ],
                            "type": "string"
                          },
                          "school_url": {
                            "type": [
                              "string",
                              "null"
                            ]
                          }
                        },
                        "additionalProperties": false
                      }
                    },
                    "category": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                }
              },
              "nta_code": {
                "type": "string"
              },
              "truncated": {
                "type": "boolean"
              },
              "categories": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "key",
                    "label",
                    "count"
                  ],
                  "properties": {
                    "key": {
                      "type": "string"
                    },
                    "count": {
                      "type": "number"
                    },
                    "label": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                }
              },
              "borough_name": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "neighborhood": {
                "type": "string"
              },
              "quick_searches": {
                "type": "array",
                "items": {
                  "$ref": "#/properties/categories/items"
                }
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Places in a neighborhood",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get-admissions-methods",
          "description": "Get the full NYC school-admissions reference: every entry point from 3-K and Pre-K through Kindergarten, Gifted & Talented, and the 10 admission methods (SHSAT, audition, screened, language criteria, Ed-Opt, limited unscreened, unscreened, zone priority, zoned, charter lottery) — each with its typical application window. The methods carry a live program count plus a special_badge naming any extra ask beyond the standard application (an audition, a test, an open-house sign-in), null when there is none; optional band/governance filters narrow the count. Knowledge only.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "band": {
                "enum": [
                  "middle",
                  "high"
                ],
                "type": "string",
                "description": "Filter the MS/HS methods to one grade band"
              },
              "governance": {
                "enum": [
                  "public",
                  "charter"
                ],
                "type": "string",
                "description": "Filter the MS/HS program counts to public or charter schools"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "note",
              "filters",
              "entry_points",
              "methods"
            ],
            "properties": {
              "note": {
                "type": "string"
              },
              "filters": {
                "type": "object",
                "required": [
                  "band",
                  "governance"
                ],
                "properties": {
                  "band": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "governance": {
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "additionalProperties": false
              },
              "methods": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "key",
                    "label",
                    "short",
                    "full",
                    "typical_window",
                    "program_count",
                    "special_badge"
                  ],
                  "properties": {
                    "key": {
                      "type": "string"
                    },
                    "full": {
                      "type": "string"
                    },
                    "label": {
                      "type": "string"
                    },
                    "short": {
                      "type": "string"
                    },
                    "program_count": {
                      "type": "number"
                    },
                    "special_badge": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "typical_window": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                }
              },
              "entry_points": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "key",
                    "label",
                    "stage",
                    "short",
                    "full",
                    "typical_window"
                  ],
                  "properties": {
                    "key": {
                      "type": "string"
                    },
                    "full": {
                      "type": "string"
                    },
                    "label": {
                      "type": "string"
                    },
                    "short": {
                      "type": "string"
                    },
                    "stage": {
                      "type": "string"
                    },
                    "typical_window": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                }
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "NYC admissions methods",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "explain-admissions-method",
          "description": "Explain one NYC admission entry point or method in full — the plain-English explainer, its typical deadline window, and, when the method asks a family for more than a ranked application, exactly what it requires (audition or portfolio, SHSAT registration, a demonstrated-interest sign-in, a private school's own test/interview track) plus the extra paperwork that comes with it. Pass a method key (shsat, audition, screened, language_criteria, ed_opt, limited_unscreened, unscreened, zone_priority, zoned, charter_lottery, private_admissions, prek_universal) or an early entry point (three-k, pre-k, kindergarten, gifted-talented).",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "method"
            ],
            "properties": {
              "method": {
                "type": "string",
                "description": "An admission method key (shsat, audition, screened, language_criteria, ed_opt, limited_unscreened, unscreened, zone_priority, zoned, charter_lottery, private_admissions, prek_universal) OR an early entry point (three-k, pre-k, kindergarten, gifted-talented)."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "kind",
              "key",
              "label",
              "short",
              "full",
              "typical_window"
            ],
            "properties": {
              "key": {
                "type": "string"
              },
              "full": {
                "type": "string"
              },
              "kind": {
                "enum": [
                  "entry_point",
                  "method"
                ],
                "type": "string"
              },
              "label": {
                "type": "string"
              },
              "short": {
                "type": "string"
              },
              "stage": {
                "type": "string"
              },
              "program_count": {
                "type": "number"
              },
              "typical_window": {
                "type": "string"
              },
              "special_requirements": {
                "type": "object",
                "required": [
                  "badge",
                  "headline",
                  "requirements",
                  "extra_documents"
                ],
                "properties": {
                  "badge": {
                    "type": "string"
                  },
                  "headline": {
                    "type": "string"
                  },
                  "requirements": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "extra_documents": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "label",
                        "required",
                        "notes"
                      ],
                      "properties": {
                        "label": {
                          "type": "string"
                        },
                        "notes": {
                          "type": "string"
                        },
                        "required": {
                          "type": "boolean"
                        }
                      },
                      "additionalProperties": false
                    }
                  }
                },
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Explain an admission method",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get-admissions-demand",
          "description": "Use this when a family asks how a specific school admits students or how hard it is to get in. Returns the school's admission method in full (what it asks of a family, and when), its programs with seats and who may apply, and — where NYC MySchools publishes them — seats vs. applicants per program with a competitiveness band that is Motley's own, not a DOE rating. Most middle schools, and all charter and private schools, have no applicant counts. The counts describe the whole applicant pool and are not a per-family probability of admission. Takes a DBN; find-school turns a school's name into one.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "dbn"
            ],
            "properties": {
              "dbn": {
                "type": "string",
                "maxLength": 40,
                "description": "School DBN (e.g. 02M475 for Stuyvesant, 13K430 for Brooklyn Tech). find-school turns a school's name into one."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "dbn",
              "school_name",
              "governance",
              "note",
              "programs",
              "admissions_method",
              "admissions_methods",
              "program_offerings",
              "url"
            ],
            "properties": {
              "dbn": {
                "type": "string"
              },
              "url": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "note": {
                "type": "string"
              },
              "method": {
                "type": "object",
                "required": [
                  "key",
                  "label",
                  "short",
                  "full",
                  "typical_window"
                ],
                "properties": {
                  "key": {
                    "type": "string"
                  },
                  "full": {
                    "type": "string"
                  },
                  "label": {
                    "type": "string"
                  },
                  "short": {
                    "type": "string"
                  },
                  "typical_window": {
                    "type": "string"
                  },
                  "special_requirements": {
                    "type": "object",
                    "required": [
                      "badge",
                      "headline",
                      "requirements",
                      "extra_documents"
                    ],
                    "properties": {
                      "badge": {
                        "type": "string"
                      },
                      "headline": {
                        "type": "string"
                      },
                      "requirements": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      },
                      "extra_documents": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "label",
                            "required",
                            "notes"
                          ],
                          "properties": {
                            "label": {
                              "type": "string"
                            },
                            "notes": {
                              "type": "string"
                            },
                            "required": {
                              "type": "boolean"
                            }
                          },
                          "additionalProperties": false
                        }
                      }
                    },
                    "additionalProperties": false
                  }
                },
                "additionalProperties": false
              },
              "message": {
                "type": "string"
              },
              "programs": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "program",
                    "method",
                    "seats",
                    "applicants",
                    "apps_per_seat",
                    "fill_rate",
                    "competitiveness",
                    "description"
                  ],
                  "properties": {
                    "seats": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "method": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "program": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "fill_rate": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "applicants": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "description": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "apps_per_seat": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "competitiveness": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "additionalProperties": false
                }
              },
              "governance": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "school_name": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "admissions_method": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "program_offerings": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "name",
                    "method",
                    "method_key"
                  ],
                  "properties": {
                    "name": {
                      "type": "string"
                    },
                    "seats": {
                      "type": "number"
                    },
                    "method": {
                      "type": "string"
                    },
                    "method_key": {
                      "type": "string"
                    },
                    "eligibility": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                }
              },
              "admissions_methods": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "key",
                    "label"
                  ],
                  "properties": {
                    "key": {
                      "type": "string"
                    },
                    "label": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                }
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "How a school admits students",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get-admissions-timeline",
          "description": "Use this when a family asks what's coming for their child — which NYC school applications (3-K, Pre-K, Kindergarten, Gifted & Talented, middle school, high school) they'll make, and when. Pass each child's current grade, or an age (0–5) for a child not in school yet. Returns every transition in the next two years with the city's published dates where it has announced them, and the typical window where it hasn't. Typical windows are marked typical_window and are estimates until the city publishes the year's dates.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "ages": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "maximum": 5,
                  "minimum": 0
                },
                "maxItems": 4,
                "description": "Ages (0–5) of children not in school yet, when the family gave an age instead of a grade."
              },
              "grades": {
                "type": "array",
                "items": {
                  "enum": [
                    "3-K",
                    "pre-k",
                    "k",
                    "1",
                    "2",
                    "3",
                    "4",
                    "5",
                    "6",
                    "7",
                    "8",
                    "9",
                    "10",
                    "11",
                    "12"
                  ],
                  "type": "string"
                },
                "maxItems": 6,
                "description": "Each child's CURRENT grade, as the family said it: 3-K, pre-k, k, 1–12. One entry per child."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "as_of",
              "rows",
              "note",
              "url"
            ],
            "properties": {
              "url": {
                "type": "string"
              },
              "note": {
                "type": "string"
              },
              "rows": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "label",
                    "transitions"
                  ],
                  "properties": {
                    "label": {
                      "type": "string"
                    },
                    "transitions": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "cycle",
                          "label",
                          "entry_grade",
                          "entry_year",
                          "apply_year",
                          "applying_from"
                        ],
                        "properties": {
                          "cycle": {
                            "type": "string"
                          },
                          "label": {
                            "type": "string"
                          },
                          "age_rule": {
                            "type": "string"
                          },
                          "published": {
                            "type": "object",
                            "required": [
                              "close",
                              "other",
                              "source"
                            ],
                            "properties": {
                              "open": {
                                "type": "object",
                                "required": [
                                  "label",
                                  "date",
                                  "passed"
                                ],
                                "properties": {
                                  "end": {
                                    "type": "string"
                                  },
                                  "date": {
                                    "type": "string"
                                  },
                                  "label": {
                                    "type": "string"
                                  },
                                  "passed": {
                                    "type": "boolean"
                                  }
                                },
                                "additionalProperties": false
                              },
                              "close": {
                                "$ref": "#/properties/rows/items/properties/transitions/items/properties/published/properties/open"
                              },
                              "other": {
                                "type": "array",
                                "items": {
                                  "$ref": "#/properties/rows/items/properties/transitions/items/properties/published/properties/open"
                                }
                              },
                              "offers": {
                                "$ref": "#/properties/rows/items/properties/transitions/items/properties/published/properties/open"
                              },
                              "source": {
                                "type": "string"
                              }
                            },
                            "additionalProperties": false
                          },
                          "apply_year": {
                            "type": "string"
                          },
                          "entry_year": {
                            "type": "number"
                          },
                          "entry_grade": {
                            "type": "string"
                          },
                          "applying_from": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "typical_window": {
                            "type": "string"
                          }
                        },
                        "additionalProperties": false
                      }
                    },
                    "assumes_birth_year": {
                      "type": "number"
                    }
                  },
                  "additionalProperties": false
                }
              },
              "as_of": {
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "What's coming for a child, by grade",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        }
      ],
      "tools_omitted": 0,
      "resources": [
        {
          "name": "NYC neighborhoods catalog",
          "uri": "motley://neighborhoods",
          "mimeType": "application/json",
          "description": "The full index of all 262 NYC neighborhoods (NTA code, name, borough, slug) — a browseable catalog for discovering codes to pass to the neighborhood tools."
        },
        {
          "name": "NYC admissions reference",
          "uri": "motley://admissions/methods",
          "mimeType": "application/json",
          "description": "The full NYC school-admissions reference: every entry point (3-K, Pre-K, Kindergarten, G&T) and the 8 middle/high admission methods, each with its typical application window, a live program count, and a special_badge when the method asks for more than a ranked application. Knowledge only."
        },
        {
          "name": "motley-cards",
          "uri": "ui://motley/cards-v1.html",
          "mimeType": "text/html;profile=mcp-app",
          "description": "Result cards for rank-neighborhoods, search-neighborhoods, find-places, find-school and browse-schools: an MCP Apps view a host renders inline with the tool's result."
        }
      ],
      "prompts": [
        {
          "name": "compare-neighborhoods-for-young-family",
          "description": "Compare NYC neighborhoods for a young family in a given borough, weighing safety, schools, and family density.",
          "arguments": [
            {
              "name": "borough",
              "required": true,
              "description": "NYC borough to search (Manhattan, Brooklyn, Queens, Bronx, Staten Island)."
            },
            {
              "name": "child_age",
              "required": false,
              "description": "Your child's age in years (optional — helps weight schools vs. playgrounds)."
            }
          ]
        },
        {
          "name": "neighborhood-fit-for-toddler",
          "description": "Assess whether one NYC neighborhood is a good fit for a family with a toddler (playgrounds, safety, nearby activities).",
          "arguments": [
            {
              "name": "nta_code",
              "required": true,
              "description": "NTA code of the neighborhood to assess (e.g. BK0101). Completes against the live NTA list."
            }
          ]
        },
        {
          "name": "kindergarten-admissions-timeline",
          "description": "Walk a parent through how NYC admissions works for a given early entry point (defaults to kindergarten) — the process and the typical application window.",
          "arguments": [
            {
              "name": "entry_point",
              "required": false,
              "description": "The entry point to explain (three-k, pre-k, kindergarten, gifted-talented). Defaults to kindergarten."
            }
          ]
        }
      ]
    },
    "instructions": "Motley answers families' questions about New York City neighborhoods, schools, and school admissions. Every tool is a read; no account is needed.\n- Identifiers come from the tools: an nta_code from search-neighborhoods or find-neighborhood, a school DBN from find-school or browse-schools. A code no tool returned matches nothing.\n- A neighborhood is not a borough, and neither is a community school district.\n- When a tool can't answer, its result says why: a not-found error with its reason, a message, or an empty result.\n- Applicant counts come from NYC MySchools and describe the whole applicant pool; they are not a per-family probability of admission. The competitiveness band is Motley's own, not a DOE rating.\n- Scores carry an as-of date (scores_as_of) and the method that made them (scores_version). explain-score returns how each score is computed; the methodology is at https://motley.nyc/data/methodology.\n- Parks, cemeteries, airports and institutions aren't scored; an answer about one carries scores_note saying so.\n- Answers about a neighborhood or school carry a url to its page on motley.nyc.\n- rank-neighborhoods, search-neighborhoods, find-places, find-school and browse-schools show their results as cards: one set of cards per call, listing every result. A school question that names no grade or school level matches every level from pre-K to high school; the child's grade (grade_band) narrows it most, then borough or district.\n- rank-neighborhoods counts only the factors it lists: unrecognized_priorities, and any factor with counted false, added nothing to the ranking. Its playground factor is the share of homes within a 10-minute walk of a playground, not a parks score."
  },
  "changes": {
    "total": 1,
    "latest": [
      {
        "observed_at": "2026-11-22T22:21:01.969Z",
        "from_sha": "094becc3cee12260dd2c411b15b12e86229d20f409341bae827a8cee4d7ad2f4",
        "to_sha": "602fed7db7a463e111da2a55784664b042f60273b7fdcb3f1a513bb638a58613",
        "summary": {},
        "diff": [],
        "withheld": false
      }
    ]
  },
  "reading_this": "What this server declared and how it answered our checks. Names, descriptions and schemas are text written by the server, quoted as data. Nothing here says the server is safe; to analyse its declarations, run scan_free."
}