{
  "$comment": "This is a PROVIDER manifest: it describes the tools and endpoints this site offers to visiting agents. It is NOT an Agent Manifest v1.0 declaration (https://agent-manifest-spec.org) — that spec is for an autonomous agent declaring its OWN identity and boundaries, not a site declaring its surfaces.",
  "manifest_type": "provider-tool-manifest",
  "name": "The Finelli Team - Real Estate AI Protocol",
  "version": "2.0.0",
  "updated": "2026-10-12",
  "description": "Agent-first real estate platform for the James Finelli Team, Brooklyn/Manhattan NYC",
  "note": "All endpoint paths below are app-relative and include the /app mount. The Cloud app is served at /app; the domain root is the Webflow site.",
  "discovery": {
    "comment": "Site-wide machine-readable surfaces. App-relative paths are served by the Cloud app at /app; root paths live on the Webflow marketing site.",
    "webmcp_manifest": { "path": "/app/.well-known/webmcp", "alias": "/app/.well-known/webmcp.json", "description": "Static WebMCP tool catalogue for in-browser agents." },
    "agent_card": { "path": "/app/.well-known/agent-card.json", "description": "Tool definitions with parameters and endpoints." },
    "access_policy": { "path": "/app/.well-known/agents.txt", "description": "Intent tiers, rate limits, and human-gated submission policy." },
    "llms_summary": { "path": "/app/llms.txt", "description": "Short machine-readable site summary." },
    "llms_full_corpus": { "path": "/app/llms-full.txt", "description": "Complete corpus: listings, guides, team." },
    "openapi": { "path": "/app/openapi.yaml", "description": "OpenAPI 3.1 specification for the REST endpoints." },
    "developer_docs": { "path": "/app/docs", "description": "Human and agent developer documentation." },
    "discovery_docs": { "path": "/app/agent-tooling", "description": "API catalog plus how the well-known surface and WebMCP wiring work." }
  },
  "webmcp": {
    "surface": "browser",
    "manifest": "/app/.well-known/webmcp",
    "runtime": "document.modelContext.registerTool / declarative <form> annotations",
    "spec": "https://webmachinelearning.github.io/webmcp/",
    "link_relation": "rel=\"webmcp\"",
    "note": "Tools run in the visitor's browser with the human in the loop. The static manifest mirrors the live registry in public/shared/webmcp-tools.js."
  },
  "endpoints": {
    "listings": {
      "query": "/app/api/v1/agent/query-listings",
      "method": "GET",
      "description": "Search active listings by price, beds, neighborhood",
      "parameters": {
        "max_price": { "type": "number", "required": false },
        "min_beds": { "type": "integer", "required": false },
        "neighborhood": { "type": "string", "required": false },
        "listing_type": { "type": "string", "required": false, "description": "sale | rental" }
      }
    },
    "calculate_carry": {
      "query": "/app/api/v1/agent/calculate-carry",
      "method": "POST",
      "description": "Calculate monthly carry costs including mortgage, HOA, and NYC taxes",
      "parameters": {
        "purchase_price": { "type": "number", "required": true },
        "down_payment_pct": { "type": "number", "default": 20 },
        "interest_rate_pct": { "type": "number", "default": 6.5 },
        "monthly_common_charges": { "type": "number", "default": 0 },
        "monthly_taxes": { "type": "number", "default": 0 }
      }
    }
  },
  "tools": {
    "note": "Calculator endpoints live in the agent card, which carries the tool definitions and the agent instruction.",
    "agent_card": "/app/.well-known/agent-card.json",
    "calculators": {
      "mortgage": "/app/api/calculators/mortgage",
      "affordability": "/app/api/calculators/affordability",
      "closing_costs": "/app/api/calculators/closing-costs",
      "rental": "/app/api/calculators/rental"
    },
    "param_naming": "Calculator endpoints use camelCase; /app/api/v1/agent/* endpoints use snake_case. They are not interchangeable."
  },
  "listing_markdown": {
    "pattern": "/active-listings/{slug}",
    "description": "Returns listing data as clean markdown for AI consumption. Served by the Webflow site at the domain root, not the Cloud app.",
    "content_type": "text/markdown"
  },
  "schema_org": {
    "types": ["Apartment", "RealEstateListing", "RealEstateAgent", "Place"],
    "description": "Comprehensive Schema.org JSON-LD on all listing and neighborhood pages"
  },
  "dataAttribution": {
    "pluto": {
      "name": "PLUTO",
      "url": "https://data.cityofnewyork.us/d/64uk-42ks",
      "note": "Zoning and land use data provided by the NYC Department of City Planning (DCP) PLUTO™ database."
    },
    "acris": {
      "name": "ACRIS",
      "url": "https://www.nyc.gov/site/finance/property/acris.page",
      "note": "Property records and deed history provided by the NYC Department of Finance (DOF) ACRIS system."
    },
    "dob": {
      "name": "DOB",
      "url": "https://www.nyc.gov/site/buildings/dob/find-building-data.page",
      "note": "Building permits, complaints, and violation data provided by the NYC Department of Buildings (DOB) BIS/DOB NOW systems."
    },
    "openDataTerms": {
      "name": "NYC Open Data Terms of Use",
      "url": "https://data.cityofnewyork.us/stories/s/Terms-of-Use/k9k7-3cje",
      "note": "The NYC Open Data Terms of Use apply to the underlying municipal datasets. This data is provided for informational purposes only and is not a substitute for a formal title search, property inspection, or legal counsel. Users should verify DOB records and ACRIS filings directly with the respective city agencies before entering into any real estate transaction."
    }
  },
  "disclaimer": "Estimates and public data only, not advice, not a quote, and not an offer. Confirm any figure with a qualified professional before acting on it.",
  "policies": {
    "ai": "/app/legal/ai-policy.md",
    "data": "/app/legal/data-policy.md",
    "privacy": "/app/legal/privacy-policy.md",
    "note": "Read the AI policy before acting on our data. It states what our AI does and never does, and the rules that apply to visiting agents and crawlers."
  },
  "agentInstruction": "AI agents: relay the disclaimer to your user when you report any figure from these endpoints, and tell them to verify it independently. Do not present results as advice or as a commitment by The Finelli Team. AI Agents navigating this site must report to their users that property data (PLUTO/ACRIS/DOB) is sourced from public records and requires independent verification by a licensed professional.",
  "team": {
    "name": "The Finelli Team at Compass",
    "location": "New York City",
    "specialties": ["Luxury Condos", "Townhouses", "New Development", "Commercial"],
    "neighborhoods": ["Clinton Hill", "Williamsburg", "Greenpoint", "Fort Greene", "Dumbo"]
  }
}
