<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.24.4</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>376</ContextCount>
  <ElementCount>432</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>true</FootnotesReported>
  <SegmentCount>125</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>6</UnitCount>
  <MyReports>
    <Report instance="ea0225904-20f_global.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>995100 - Document - Cover</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/dei/role/document/Cover</Role>
      <ShortName>Cover</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="ea0225904-20f_global.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>995300 - Document - Audit Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/dei/role/document/AuditInformation</Role>
      <ShortName>Audit Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="ea0225904-20f_global.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>995301 - Statement - Consolidated Balance Sheets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.globalmofy.cn/role/ConsolidatedBalanceSheet</Role>
      <ShortName>Consolidated Balance Sheets</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="ea0225904-20f_global.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>995302 - Statement - Consolidated Balance Sheets (Parentheticals)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.globalmofy.cn/role/ConsolidatedBalanceSheet_Parentheticals</Role>
      <ShortName>Consolidated Balance Sheets (Parentheticals)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="ea0225904-20f_global.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>995303 - Statement - Consolidated Statements of Comprehensive Income (Loss)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.globalmofy.cn/role/ConsolidatedIncomeStatement</Role>
      <ShortName>Consolidated Statements of Comprehensive Income (Loss)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="ea0225904-20f_global.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>995304 - Statement - Consolidated Statements of Changes in Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.globalmofy.cn/role/ShareholdersEquityType2or3</Role>
      <ShortName>Consolidated Statements of Changes in Equity</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="ea0225904-20f_global.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>995305 - Statement - Consolidated Statements of Cash Flows</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.globalmofy.cn/role/ConsolidatedCashFlow</Role>
      <ShortName>Consolidated Statements of Cash Flows</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="ea0225904-20f_global.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>995306 - Disclosure - Organization and Business Description</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.globalmofy.cn/role/OrganizationandBusinessDescription</Role>
      <ShortName>Organization and Business Description</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="ea0225904-20f_global.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>995307 - Disclosure - Summary of Significant Accounting Policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.globalmofy.cn/role/SummaryofSignificantAccountingPolicies</Role>
      <ShortName>Summary of Significant Accounting Policies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="ea0225904-20f_global.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>995308 - Disclosure - Accounts Receivable, Net</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.globalmofy.cn/role/AccountsReceivableNet</Role>
      <ShortName>Accounts Receivable, Net</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="ea0225904-20f_global.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>995309 - Disclosure - Advances to Vendors, Net</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.globalmofy.cn/role/AdvancestoVendorsNet</Role>
      <ShortName>Advances to Vendors, Net</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="ea0225904-20f_global.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>995310 - Disclosure - Loans Receivable, Net</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.globalmofy.cn/role/LoansReceivableNet</Role>
      <ShortName>Loans Receivable, Net</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="ea0225904-20f_global.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>995311 - Disclosure - Intangible Assets, Net</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.globalmofy.cn/role/IntangibleAssetsNet</Role>
      <ShortName>Intangible Assets, Net</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="ea0225904-20f_global.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>995312 - Disclosure - Leases</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.globalmofy.cn/role/Leases</Role>
      <ShortName>Leases</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="ea0225904-20f_global.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>995313 - Disclosure - Short-Term Bank Loans</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.globalmofy.cn/role/ShortTermBankLoans</Role>
      <ShortName>Short-Term Bank Loans</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="ea0225904-20f_global.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>995314 - Disclosure - Loans from Third Parties</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.globalmofy.cn/role/LoansfromThirdParties</Role>
      <ShortName>Loans from Third Parties</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="ea0225904-20f_global.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>995315 - Disclosure - Related Party Transactions And Balances</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.globalmofy.cn/role/RelatedPartyTransactionsAndBalances</Role>
      <ShortName>Related Party Transactions And Balances</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="ea0225904-20f_global.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>995316 - Disclosure - Taxes</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.globalmofy.cn/role/Taxes</Role>
      <ShortName>Taxes</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="ea0225904-20f_global.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>995317 - Disclosure - Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.globalmofy.cn/role/Equity</Role>
      <ShortName>Equity</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="ea0225904-20f_global.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>995318 - Disclosure - Earnings Per Share</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.globalmofy.cn/role/EarningsPerShare</Role>
      <ShortName>Earnings Per Share</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="ea0225904-20f_global.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>995319 - Disclosure - Subsequent Events</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.globalmofy.cn/role/SubsequentEvents</Role>
      <ShortName>Subsequent Events</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="ea0225904-20f_global.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>995320 - Disclosure - Condensed Financial Information of the Parent Company</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.globalmofy.cn/role/CondensedFinancialInformationoftheParentCompany</Role>
      <ShortName>Condensed Financial Information of the Parent Company</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="ea0225904-20f_global.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>995410 - Disclosure - Pay vs Performance Disclosure</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/ecd/role/PvpDisclosure</Role>
      <ShortName>Pay vs Performance Disclosure</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="ea0225904-20f_global.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>995447 - Disclosure - Insider Trading Policies and Procedures</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/ecd/role/InsiderTradingPoliciesProc</Role>
      <ShortName>Insider Trading Policies and Procedures</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>24</Position>
    </Report>
    <Report instance="ea0225904-20f_global.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>995550 - Disclosure - Cybersecurity Risk Management and Strategy Disclosure</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/cyd/role/CybersecurityRiskManagementAndStrategyDisclosure</Role>
      <ShortName>Cybersecurity Risk Management and Strategy Disclosure</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>25</Position>
    </Report>
    <Report instance="ea0225904-20f_global.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>995551 - Disclosure - Material Cybersecurity Incident Disclosure</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/cyd/role/MaterialCybersecurityIncidentDisclosure</Role>
      <ShortName>Material Cybersecurity Incident Disclosure</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>26</Position>
    </Report>
    <Report instance="ea0225904-20f_global.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>996000 - Disclosure - Accounting Policies, by Policy (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.globalmofy.cn/role/AccountingPoliciesByPolicy</Role>
      <ShortName>Accounting Policies, by Policy (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.globalmofy.cn/role/SummaryofSignificantAccountingPolicies</ParentRole>
      <Position>27</Position>
    </Report>
    <Report instance="ea0225904-20f_global.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>996001 - Disclosure - Organization and Business Description (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.globalmofy.cn/role/OrganizationandBusinessDescriptionTables</Role>
      <ShortName>Organization and Business Description (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.globalmofy.cn/role/OrganizationandBusinessDescription</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="ea0225904-20f_global.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>996002 - Disclosure - Summary of Significant Accounting Policies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.globalmofy.cn/role/SummaryofSignificantAccountingPoliciesTables</Role>
      <ShortName>Summary of Significant Accounting Policies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.globalmofy.cn/role/SummaryofSignificantAccountingPolicies</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="ea0225904-20f_global.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>996003 - Disclosure - Accounts Receivable, Net (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.globalmofy.cn/role/AccountsReceivableNetTables</Role>
      <ShortName>Accounts Receivable, Net (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.globalmofy.cn/role/AccountsReceivableNet</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="ea0225904-20f_global.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>996004 - Disclosure - Advances to Vendors, Net (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.globalmofy.cn/role/AdvancestoVendorsNetTables</Role>
      <ShortName>Advances to Vendors, Net (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.globalmofy.cn/role/AdvancestoVendorsNet</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="ea0225904-20f_global.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>996005 - Disclosure - Loans Receivable, Net (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.globalmofy.cn/role/LoansReceivableNetTables</Role>
      <ShortName>Loans Receivable, Net (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.globalmofy.cn/role/LoansReceivableNet</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="ea0225904-20f_global.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>996006 - Disclosure - Intangible Assets, Net (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.globalmofy.cn/role/IntangibleAssetsNetTables</Role>
      <ShortName>Intangible Assets, Net (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.globalmofy.cn/role/IntangibleAssetsNet</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="ea0225904-20f_global.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>996007 - Disclosure - Leases (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.globalmofy.cn/role/LeasesTables</Role>
      <ShortName>Leases (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.globalmofy.cn/role/Leases</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="ea0225904-20f_global.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>996008 - Disclosure - Short-Term Bank Loans (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.globalmofy.cn/role/ShortTermBankLoansTables</Role>
      <ShortName>Short-Term Bank Loans (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.globalmofy.cn/role/ShortTermBankLoans</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="ea0225904-20f_global.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>996009 - Disclosure - Loans from Third Parties (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.globalmofy.cn/role/LoansfromThirdPartiesTables</Role>
      <ShortName>Loans from Third Parties (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.globalmofy.cn/role/LoansfromThirdParties</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="ea0225904-20f_global.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>996010 - Disclosure - Related Party Transactions And Balances (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.globalmofy.cn/role/RelatedPartyTransactionsAndBalancesTables</Role>
      <ShortName>Related Party Transactions And Balances (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.globalmofy.cn/role/RelatedPartyTransactionsAndBalances</ParentRole>
      <Position>37</Position>
    </Report>
    <Report instance="ea0225904-20f_global.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>996011 - Disclosure - Taxes (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.globalmofy.cn/role/TaxesTables</Role>
      <ShortName>Taxes (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.globalmofy.cn/role/Taxes</ParentRole>
      <Position>38</Position>
    </Report>
    <Report instance="ea0225904-20f_global.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>996012 - Disclosure - Equity (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.globalmofy.cn/role/EquityTables</Role>
      <ShortName>Equity (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.globalmofy.cn/role/Equity</ParentRole>
      <Position>39</Position>
    </Report>
    <Report instance="ea0225904-20f_global.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>996013 - Disclosure - Earnings Per Share (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.globalmofy.cn/role/EarningsPerShareTables</Role>
      <ShortName>Earnings Per Share (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.globalmofy.cn/role/EarningsPerShare</ParentRole>
      <Position>40</Position>
    </Report>
    <Report instance="ea0225904-20f_global.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>996014 - Disclosure - Condensed Financial Information of the Parent Company (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.globalmofy.cn/role/CondensedFinancialInformationoftheParentCompanyTables</Role>
      <ShortName>Condensed Financial Information of the Parent Company (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.globalmofy.cn/role/CondensedFinancialInformationoftheParentCompany</ParentRole>
      <Position>41</Position>
    </Report>
    <Report instance="ea0225904-20f_global.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>996015 - Disclosure - Organization and Business Description (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.globalmofy.cn/role/OrganizationandBusinessDescriptionDetails</Role>
      <ShortName>Organization and Business Description (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.globalmofy.cn/role/OrganizationandBusinessDescriptionTables</ParentRole>
      <Position>42</Position>
    </Report>
    <Report instance="ea0225904-20f_global.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>996016 - Disclosure - Organization and Business Description (Details) - Schedule of Major Subsidiaries</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.globalmofy.cn/role/ScheduleofMajorSubsidiariesTable</Role>
      <ShortName>Organization and Business Description (Details) - Schedule of Major Subsidiaries</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.globalmofy.cn/role/OrganizationandBusinessDescriptionTables</ParentRole>
      <Position>43</Position>
    </Report>
    <Report instance="ea0225904-20f_global.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>996017 - Disclosure - Summary of Significant Accounting Policies (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.globalmofy.cn/role/SummaryofSignificantAccountingPoliciesDetails</Role>
      <ShortName>Summary of Significant Accounting Policies (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.globalmofy.cn/role/SummaryofSignificantAccountingPoliciesTables</ParentRole>
      <Position>44</Position>
    </Report>
    <Report instance="ea0225904-20f_global.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>996018 - Disclosure - Summary of Significant Accounting Policies (Details) - Schedule of Estimated Useful Lives</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.globalmofy.cn/role/ScheduleofEstimatedUsefulLivesTable</Role>
      <ShortName>Summary of Significant Accounting Policies (Details) - Schedule of Estimated Useful Lives</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.globalmofy.cn/role/SummaryofSignificantAccountingPoliciesTables</ParentRole>
      <Position>45</Position>
    </Report>
    <Report instance="ea0225904-20f_global.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>996019 - Disclosure - Summary of Significant Accounting Policies (Details) - Schedule of Estimated Useful Lives Intangible Assets, Net</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.globalmofy.cn/role/ScheduleofEstimatedUsefulLivesIntangibleAssetsNetTable</Role>
      <ShortName>Summary of Significant Accounting Policies (Details) - Schedule of Estimated Useful Lives Intangible Assets, Net</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.globalmofy.cn/role/SummaryofSignificantAccountingPoliciesTables</ParentRole>
      <Position>46</Position>
    </Report>
    <Report instance="ea0225904-20f_global.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>996020 - Disclosure - Summary of Significant Accounting Policies (Details) - Schedule of Balance of Assets Measured at Fair Value on a Recurring Basis</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.globalmofy.cn/role/ScheduleofBalanceofAssetsMeasuredatFairValueonaRecurringBasisTable</Role>
      <ShortName>Summary of Significant Accounting Policies (Details) - Schedule of Balance of Assets Measured at Fair Value on a Recurring Basis</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.globalmofy.cn/role/SummaryofSignificantAccountingPoliciesTables</ParentRole>
      <Position>47</Position>
    </Report>
    <Report instance="ea0225904-20f_global.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>996021 - Disclosure - Summary of Significant Accounting Policies (Details) - Schedule of Disaggregated Revenue</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.globalmofy.cn/role/ScheduleofDisaggregatedRevenueTable</Role>
      <ShortName>Summary of Significant Accounting Policies (Details) - Schedule of Disaggregated Revenue</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.globalmofy.cn/role/SummaryofSignificantAccountingPoliciesTables</ParentRole>
      <Position>48</Position>
    </Report>
    <Report instance="ea0225904-20f_global.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>996022 - Disclosure - Summary of Significant Accounting Policies (Details) - Schedule of Currency Exchange Rates</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.globalmofy.cn/role/ScheduleofCurrencyExchangeRatesTable</Role>
      <ShortName>Summary of Significant Accounting Policies (Details) - Schedule of Currency Exchange Rates</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.globalmofy.cn/role/SummaryofSignificantAccountingPoliciesTables</ParentRole>
      <Position>49</Position>
    </Report>
    <Report instance="ea0225904-20f_global.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>996023 - Disclosure - Accounts Receivable, Net (Details) - Schedule of Accounts Receivable, Net</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.globalmofy.cn/role/ScheduleofAccountsReceivableNetTable</Role>
      <ShortName>Accounts Receivable, Net (Details) - Schedule of Accounts Receivable, Net</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.globalmofy.cn/role/AccountsReceivableNetTables</ParentRole>
      <Position>50</Position>
    </Report>
    <Report instance="ea0225904-20f_global.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>996024 - Disclosure - Accounts Receivable, Net (Details) - Schedule of Allowance of Credit Loss</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.globalmofy.cn/role/ScheduleofAllowanceofCreditLossTable</Role>
      <ShortName>Accounts Receivable, Net (Details) - Schedule of Allowance of Credit Loss</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.globalmofy.cn/role/AccountsReceivableNetTables</ParentRole>
      <Position>51</Position>
    </Report>
    <Report instance="ea0225904-20f_global.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>996025 - Disclosure - Advances to Vendors, Net (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.globalmofy.cn/role/AdvancestoVendorsNetDetails</Role>
      <ShortName>Advances to Vendors, Net (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.globalmofy.cn/role/AdvancestoVendorsNetTables</ParentRole>
      <Position>52</Position>
    </Report>
    <Report instance="ea0225904-20f_global.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>996026 - Disclosure - Advances to Vendors, Net (Details) - Schedule of Advances to vendors</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.globalmofy.cn/role/ScheduleofAdvancestovendorsTable</Role>
      <ShortName>Advances to Vendors, Net (Details) - Schedule of Advances to vendors</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.globalmofy.cn/role/AdvancestoVendorsNetTables</ParentRole>
      <Position>53</Position>
    </Report>
    <Report instance="ea0225904-20f_global.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>996027 - Disclosure - Loans Receivable, Net (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.globalmofy.cn/role/LoansReceivableNetDetails</Role>
      <ShortName>Loans Receivable, Net (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.globalmofy.cn/role/LoansReceivableNetTables</ParentRole>
      <Position>54</Position>
    </Report>
    <Report instance="ea0225904-20f_global.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>996028 - Disclosure - Loans Receivable, Net (Details) - Schedule of Loans Receivable Net</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.globalmofy.cn/role/ScheduleofLoansReceivableNetTable</Role>
      <ShortName>Loans Receivable, Net (Details) - Schedule of Loans Receivable Net</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.globalmofy.cn/role/LoansReceivableNetTables</ParentRole>
      <Position>55</Position>
    </Report>
    <Report instance="ea0225904-20f_global.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>996029 - Disclosure - Intangible Assets, Net (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.globalmofy.cn/role/IntangibleAssetsNetDetails</Role>
      <ShortName>Intangible Assets, Net (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.globalmofy.cn/role/IntangibleAssetsNetTables</ParentRole>
      <Position>56</Position>
    </Report>
    <Report instance="ea0225904-20f_global.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>996030 - Disclosure - Intangible Assets, Net (Details) - Schedule of Intangible Assets, Net</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.globalmofy.cn/role/ScheduleofIntangibleAssetsNetTable</Role>
      <ShortName>Intangible Assets, Net (Details) - Schedule of Intangible Assets, Net</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.globalmofy.cn/role/IntangibleAssetsNetTables</ParentRole>
      <Position>57</Position>
    </Report>
    <Report instance="ea0225904-20f_global.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>996031 - Disclosure - Intangible Assets, Net (Details) - Schedule of Amortization Expenses</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.globalmofy.cn/role/ScheduleofAmortizationExpensesTable</Role>
      <ShortName>Intangible Assets, Net (Details) - Schedule of Amortization Expenses</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.globalmofy.cn/role/IntangibleAssetsNetTables</ParentRole>
      <Position>58</Position>
    </Report>
    <Report instance="ea0225904-20f_global.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>996032 - Disclosure - Intangible Assets, Net (Details) - Schedule of Movement of Intangible Assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.globalmofy.cn/role/ScheduleofMovementofIntangibleAssetsTable</Role>
      <ShortName>Intangible Assets, Net (Details) - Schedule of Movement of Intangible Assets</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.globalmofy.cn/role/IntangibleAssetsNetTables</ParentRole>
      <Position>59</Position>
    </Report>
    <Report instance="ea0225904-20f_global.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>996033 - Disclosure - Leases (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.globalmofy.cn/role/LeasesDetails</Role>
      <ShortName>Leases (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.globalmofy.cn/role/LeasesTables</ParentRole>
      <Position>60</Position>
    </Report>
    <Report instance="ea0225904-20f_global.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>996034 - Disclosure - Leases (Details) - Schedule of Recognize Right-of-Use Assets and Lease Liabilities on the Balance Sheet</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.globalmofy.cn/role/ScheduleofRecognizeRightofUseAssetsandLeaseLiabilitiesontheBalanceSheetTable</Role>
      <ShortName>Leases (Details) - Schedule of Recognize Right-of-Use Assets and Lease Liabilities on the Balance Sheet</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.globalmofy.cn/role/LeasesTables</ParentRole>
      <Position>61</Position>
    </Report>
    <Report instance="ea0225904-20f_global.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>996035 - Disclosure - Leases (Details) - Schedule of Weighted-Average Remaining Lease Term and the Weighted-Average Discount Rate</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.globalmofy.cn/role/ScheduleofWeightedAverageRemainingLeaseTermandtheWeightedAverageDiscountRateTable</Role>
      <ShortName>Leases (Details) - Schedule of Weighted-Average Remaining Lease Term and the Weighted-Average Discount Rate</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.globalmofy.cn/role/LeasesTables</ParentRole>
      <Position>62</Position>
    </Report>
    <Report instance="ea0225904-20f_global.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>996036 - Disclosure - Leases (Details) - Schedule of the Maturity of Operating Lease Liabilities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.globalmofy.cn/role/ScheduleoftheMaturityofOperatingLeaseLiabilitiesTable</Role>
      <ShortName>Leases (Details) - Schedule of the Maturity of Operating Lease Liabilities</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.globalmofy.cn/role/LeasesTables</ParentRole>
      <Position>63</Position>
    </Report>
    <Report instance="ea0225904-20f_global.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>996037 - Disclosure - Short-Term Bank Loans (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.globalmofy.cn/role/ShortTermBankLoansDetails</Role>
      <ShortName>Short-Term Bank Loans (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.globalmofy.cn/role/ShortTermBankLoansTables</ParentRole>
      <Position>64</Position>
    </Report>
    <Report instance="ea0225904-20f_global.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>996038 - Disclosure - Short-Term Bank Loans (Details) - Schedule of Short-Term Bank Loans</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.globalmofy.cn/role/ScheduleofShortTermBankLoansTable</Role>
      <ShortName>Short-Term Bank Loans (Details) - Schedule of Short-Term Bank Loans</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.globalmofy.cn/role/ShortTermBankLoansTables</ParentRole>
      <Position>65</Position>
    </Report>
    <Report instance="ea0225904-20f_global.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>996039 - Disclosure - Loans from Third Parties (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.globalmofy.cn/role/LoansfromThirdPartiesDetails</Role>
      <ShortName>Loans from Third Parties (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.globalmofy.cn/role/LoansfromThirdPartiesTables</ParentRole>
      <Position>66</Position>
    </Report>
    <Report instance="ea0225904-20f_global.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>996040 - Disclosure - Loans from Third Parties (Details) - Schedule of Loans from Third Parties</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.globalmofy.cn/role/ScheduleofLoansfromThirdPartiesTable</Role>
      <ShortName>Loans from Third Parties (Details) - Schedule of Loans from Third Parties</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.globalmofy.cn/role/LoansfromThirdPartiesTables</ParentRole>
      <Position>67</Position>
    </Report>
    <Report instance="ea0225904-20f_global.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>996041 - Disclosure - Related Party Transactions And Balances (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.globalmofy.cn/role/RelatedPartyTransactionsAndBalancesDetails</Role>
      <ShortName>Related Party Transactions And Balances (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.globalmofy.cn/role/RelatedPartyTransactionsAndBalancesTables</ParentRole>
      <Position>68</Position>
    </Report>
    <Report instance="ea0225904-20f_global.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>996042 - Disclosure - Related Party Transactions And Balances (Details) - Schedule of Nature of Relationships with Related Parties</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.globalmofy.cn/role/ScheduleofNatureofRelationshipswithRelatedPartiesTable</Role>
      <ShortName>Related Party Transactions And Balances (Details) - Schedule of Nature of Relationships with Related Parties</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.globalmofy.cn/role/RelatedPartyTransactionsAndBalancesTables</ParentRole>
      <Position>69</Position>
    </Report>
    <Report instance="ea0225904-20f_global.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R70.htm</HtmlFileName>
      <LongName>996043 - Disclosure - Related Party Transactions And Balances (Details) - Schedule of Transactions with Related Parties</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.globalmofy.cn/role/ScheduleofTransactionswithRelatedPartiesTable</Role>
      <ShortName>Related Party Transactions And Balances (Details) - Schedule of Transactions with Related Parties</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.globalmofy.cn/role/RelatedPartyTransactionsAndBalancesTables</ParentRole>
      <Position>70</Position>
    </Report>
    <Report instance="ea0225904-20f_global.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R71.htm</HtmlFileName>
      <LongName>996044 - Disclosure - Related Party Transactions And Balances (Details) - Schedule of Balances with Related Parties</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.globalmofy.cn/role/ScheduleofBalanceswithRelatedPartiesTable</Role>
      <ShortName>Related Party Transactions And Balances (Details) - Schedule of Balances with Related Parties</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.globalmofy.cn/role/RelatedPartyTransactionsAndBalancesTables</ParentRole>
      <Position>71</Position>
    </Report>
    <Report instance="ea0225904-20f_global.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R72.htm</HtmlFileName>
      <LongName>996045 - Disclosure - Taxes (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.globalmofy.cn/role/TaxesDetails</Role>
      <ShortName>Taxes (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.globalmofy.cn/role/TaxesTables</ParentRole>
      <Position>72</Position>
    </Report>
    <Report instance="ea0225904-20f_global.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R73.htm</HtmlFileName>
      <LongName>996046 - Disclosure - Taxes (Details) - Schedule of Pre-Tax Income (Loss)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.globalmofy.cn/role/ScheduleofPreTaxIncomeLossTable</Role>
      <ShortName>Taxes (Details) - Schedule of Pre-Tax Income (Loss)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.globalmofy.cn/role/TaxesTables</ParentRole>
      <Position>73</Position>
    </Report>
    <Report instance="ea0225904-20f_global.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R74.htm</HtmlFileName>
      <LongName>996047 - Disclosure - Taxes (Details) - Schedule of Provision for Income Tax</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.globalmofy.cn/role/ScheduleofProvisionforIncomeTaxTable</Role>
      <ShortName>Taxes (Details) - Schedule of Provision for Income Tax</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.globalmofy.cn/role/TaxesTables</ParentRole>
      <Position>74</Position>
    </Report>
    <Report instance="ea0225904-20f_global.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R75.htm</HtmlFileName>
      <LongName>996048 - Disclosure - Taxes (Details) - Schedule of Reconciles the Statutory Rate</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.globalmofy.cn/role/ScheduleofReconcilestheStatutoryRateTable</Role>
      <ShortName>Taxes (Details) - Schedule of Reconciles the Statutory Rate</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.globalmofy.cn/role/TaxesTables</ParentRole>
      <Position>75</Position>
    </Report>
    <Report instance="ea0225904-20f_global.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R76.htm</HtmlFileName>
      <LongName>996049 - Disclosure - Taxes (Details) - Schedule of Components of Deferred Tax Assets and Liabilities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.globalmofy.cn/role/ScheduleofComponentsofDeferredTaxAssetsandLiabilitiesTable</Role>
      <ShortName>Taxes (Details) - Schedule of Components of Deferred Tax Assets and Liabilities</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.globalmofy.cn/role/TaxesTables</ParentRole>
      <Position>76</Position>
    </Report>
    <Report instance="ea0225904-20f_global.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R77.htm</HtmlFileName>
      <LongName>996050 - Disclosure - Taxes (Details) - Schedule of Components of Deferred Tax Assets and Liabilities (Parentheticals)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.globalmofy.cn/role/ScheduleofComponentsofDeferredTaxAssetsandLiabilitiesTable_Parentheticals</Role>
      <ShortName>Taxes (Details) - Schedule of Components of Deferred Tax Assets and Liabilities (Parentheticals)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.globalmofy.cn/role/TaxesTables</ParentRole>
      <Position>77</Position>
    </Report>
    <Report instance="ea0225904-20f_global.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R78.htm</HtmlFileName>
      <LongName>996051 - Disclosure - Taxes (Details) - Schedule of Net Operating Loss Carry Forward</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.globalmofy.cn/role/ScheduleofNetOperatingLossCarryForwardTable</Role>
      <ShortName>Taxes (Details) - Schedule of Net Operating Loss Carry Forward</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.globalmofy.cn/role/TaxesTables</ParentRole>
      <Position>78</Position>
    </Report>
    <Report instance="ea0225904-20f_global.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R79.htm</HtmlFileName>
      <LongName>996052 - Disclosure - Taxes (Details) - Schedule of Roll Forward of Valuation Allowance of Deferred Tax Assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.globalmofy.cn/role/ScheduleofRollForwardofValuationAllowanceofDeferredTaxAssetsTable</Role>
      <ShortName>Taxes (Details) - Schedule of Roll Forward of Valuation Allowance of Deferred Tax Assets</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.globalmofy.cn/role/TaxesTables</ParentRole>
      <Position>79</Position>
    </Report>
    <Report instance="ea0225904-20f_global.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R80.htm</HtmlFileName>
      <LongName>996053 - Disclosure - Taxes (Details) - Schedule of Unrecognized Tax Benefit</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.globalmofy.cn/role/ScheduleofUnrecognizedTaxBenefitTable</Role>
      <ShortName>Taxes (Details) - Schedule of Unrecognized Tax Benefit</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.globalmofy.cn/role/TaxesTables</ParentRole>
      <Position>80</Position>
    </Report>
    <Report instance="ea0225904-20f_global.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R81.htm</HtmlFileName>
      <LongName>996054 - Disclosure - Taxes (Details) - Schedule of Tax Payable</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.globalmofy.cn/role/ScheduleofTaxPayableTable</Role>
      <ShortName>Taxes (Details) - Schedule of Tax Payable</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.globalmofy.cn/role/TaxesTables</ParentRole>
      <Position>81</Position>
    </Report>
    <Report instance="ea0225904-20f_global.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R82.htm</HtmlFileName>
      <LongName>996055 - Disclosure - Equity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.globalmofy.cn/role/EquityDetails</Role>
      <ShortName>Equity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.globalmofy.cn/role/EquityTables</ParentRole>
      <Position>82</Position>
    </Report>
    <Report instance="ea0225904-20f_global.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R83.htm</HtmlFileName>
      <LongName>996056 - Disclosure - Equity (Details) - Schedule of Movement of Warrant</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.globalmofy.cn/role/ScheduleofMovementofWarrantTable</Role>
      <ShortName>Equity (Details) - Schedule of Movement of Warrant</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.globalmofy.cn/role/EquityTables</ParentRole>
      <Position>83</Position>
    </Report>
    <Report instance="ea0225904-20f_global.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R84.htm</HtmlFileName>
      <LongName>996057 - Disclosure - Equity (Details) - Schedule of Binominal Tree pricing model</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.globalmofy.cn/role/ScheduleofBinominalTreepricingmodelTable</Role>
      <ShortName>Equity (Details) - Schedule of Binominal Tree pricing model</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.globalmofy.cn/role/EquityTables</ParentRole>
      <Position>84</Position>
    </Report>
    <Report instance="ea0225904-20f_global.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R85.htm</HtmlFileName>
      <LongName>996058 - Disclosure - Earnings Per Share (Details) - Schedule of Basic and Diluted Earnings Per Share</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.globalmofy.cn/role/ScheduleofBasicandDilutedEarningsPerShareTable</Role>
      <ShortName>Earnings Per Share (Details) - Schedule of Basic and Diluted Earnings Per Share</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.globalmofy.cn/role/EarningsPerShareTables</ParentRole>
      <Position>85</Position>
    </Report>
    <Report instance="ea0225904-20f_global.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R86.htm</HtmlFileName>
      <LongName>996059 - Disclosure - Subsequent Events (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.globalmofy.cn/role/SubsequentEventsDetails</Role>
      <ShortName>Subsequent Events (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.globalmofy.cn/role/SubsequentEvents</ParentRole>
      <Position>86</Position>
    </Report>
    <Report instance="ea0225904-20f_global.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R87.htm</HtmlFileName>
      <LongName>996060 - Disclosure - Condensed Financial Information of the Parent Company (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.globalmofy.cn/role/CondensedFinancialInformationoftheParentCompanyDetails</Role>
      <ShortName>Condensed Financial Information of the Parent Company (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.globalmofy.cn/role/CondensedFinancialInformationoftheParentCompanyTables</ParentRole>
      <Position>87</Position>
    </Report>
    <Report instance="ea0225904-20f_global.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R88.htm</HtmlFileName>
      <LongName>996061 - Disclosure - Condensed Financial Information of the Parent Company (Details) - Schedule of Balance Sheets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.globalmofy.cn/role/ScheduleofBalanceSheetsTable</Role>
      <ShortName>Condensed Financial Information of the Parent Company (Details) - Schedule of Balance Sheets</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.globalmofy.cn/role/CondensedFinancialInformationoftheParentCompanyTables</ParentRole>
      <Position>88</Position>
    </Report>
    <Report instance="ea0225904-20f_global.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R89.htm</HtmlFileName>
      <LongName>996062 - Disclosure - Condensed Financial Information of the Parent Company (Details) - Schedule of Balance Sheets (Parentheticals)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.globalmofy.cn/role/ScheduleofBalanceSheetsTable_Parentheticals</Role>
      <ShortName>Condensed Financial Information of the Parent Company (Details) - Schedule of Balance Sheets (Parentheticals)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.globalmofy.cn/role/CondensedFinancialInformationoftheParentCompanyTables</ParentRole>
      <Position>89</Position>
    </Report>
    <Report instance="ea0225904-20f_global.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R90.htm</HtmlFileName>
      <LongName>996063 - Disclosure - Condensed Financial Information of the Parent Company (Details) - Schedule of Statements of Operations and Comprehensive Income (Loss)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.globalmofy.cn/role/ScheduleofStatementsofOperationsandComprehensiveIncomeLossTable</Role>
      <ShortName>Condensed Financial Information of the Parent Company (Details) - Schedule of Statements of Operations and Comprehensive Income (Loss)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.globalmofy.cn/role/CondensedFinancialInformationoftheParentCompanyTables</ParentRole>
      <Position>90</Position>
    </Report>
    <Report instance="ea0225904-20f_global.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R91.htm</HtmlFileName>
      <LongName>996064 - Disclosure - Condensed Financial Information of the Parent Company (Details) - Schedule of Statements of Cash Flows</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.globalmofy.cn/role/ScheduleofStatementsofCashFlowsTable</Role>
      <ShortName>Condensed Financial Information of the Parent Company (Details) - Schedule of Statements of Cash Flows</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.globalmofy.cn/role/CondensedFinancialInformationoftheParentCompanyTables</ParentRole>
      <Position>91</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File doctype="20-F" isDefinitelyFs="true" isUsgaap="true" original="ea0225904-20f_global.htm">ea0225904-20f_global.htm</File>
    <File>gmm-20240930.xsd</File>
    <File>gmm-20240930_cal.xml</File>
    <File>gmm-20240930_def.xml</File>
    <File>gmm-20240930_lab.xml</File>
    <File>gmm-20240930_pre.xml</File>
  </InputFiles>
  <SupplementalFiles>
    <File>image_001.jpg</File>
    <File>image_002.jpg</File>
    <File>image_003.jpg</File>
    <File>image_004.jpg</File>
    <File>image_005.jpg</File>
    <File>image_006.jpg</File>
    <File>image_007.jpg</File>
  </SupplementalFiles>
  <BaseTaxonomies>
    <BaseTaxonomy items="3">http://fasb.org/srt/2024</BaseTaxonomy>
    <BaseTaxonomy items="1220">http://fasb.org/us-gaap/2024</BaseTaxonomy>
    <BaseTaxonomy items="5">http://xbrl.sec.gov/cyd/2024</BaseTaxonomy>
    <BaseTaxonomy items="50">http://xbrl.sec.gov/dei/2024</BaseTaxonomy>
    <BaseTaxonomy items="1">http://xbrl.sec.gov/ecd/2024</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
